Ver código fonte

* should not compile only in Delphi mode

carl 23 anos atrás
pai
commit
464a082f96
2 arquivos alterados com 4 adições e 1 exclusões
  1. 1 1
      tests/tbf/tb0125.pp
  2. 3 0
      tests/tbf/tb0127.pp

+ 1 - 1
tests/tbf/tb0125.pp

@@ -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

+ 3 - 0
tests/tbf/tb0127.pp

@@ -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