Browse Source

* test fixed, hopefully

git-svn-id: trunk@6810 -
florian 18 years ago
parent
commit
85189db6fe
1 changed files with 7 additions and 2 deletions
  1. 7 2
      tests/webtbf/tw3473.pp

+ 7 - 2
tests/webtbf/tw3473.pp

@@ -1,6 +1,7 @@
 { %fail }
 { %fail }
 
 
-{$mode delphi}
+{ $mode delphi}
+{$mode objfpc}
 type
 type
   TA = class
   TA = class
     procedure douseful; virtual; abstract;
     procedure douseful; virtual; abstract;
@@ -14,7 +15,11 @@ type
 
 
 procedure TB.douseful;
 procedure TB.douseful;
 begin
 begin
-  { This should give an error, comaptible with Kylix }
+  { This should give an error, comaptible with Kylix
+
+    Delphi eats this
+    FP shouldn't by default
+    (FK) }
   inherited;
   inherited;
 end;
 end;