فهرست منبع

* should not compile only in Delphi mode

carl 23 سال پیش
والد
کامیت
464a082f96
2فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  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