mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 01:30:33 +01:00
* should not compile only in Delphi mode
This commit is contained in:
parent
0e4a87d682
commit
464a082f96
@ -2,7 +2,7 @@
|
||||
{ Returns this error under Delphi :
|
||||
Error: Types of actual and formal var parameters must be identical }
|
||||
{$ifdef fpc}
|
||||
{$mode objfpc}
|
||||
{$mode delphi}
|
||||
{$endif}
|
||||
type
|
||||
tsymbol = class
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
{ %version=1.1 }
|
||||
{ Interfaces only supported in v1.1 }
|
||||
{ Should give the same error as /tbf/tb0125.pp }
|
||||
{$ifdef fpc}
|
||||
{$mode delphi}
|
||||
{$endif}
|
||||
type
|
||||
|
||||
tinterface = interface
|
||||
|
||||
Loading…
Reference in New Issue
Block a user