Browse Source

* updated

peter 22 years ago
parent
commit
9d0f27ffdc
1 changed files with 6 additions and 1 deletions
  1. 6 1
      tests/webtbs/tw1923.pp

+ 6 - 1
tests/webtbs/tw1923.pp

@@ -1,4 +1,4 @@
-{$mode delphi}
+{$ifdef fpc}{$mode delphi}{$endif}
 
 type
 parent = class
@@ -13,5 +13,10 @@ begin
 inherited;
 end;
 
+var
+  o : child;
 begin
+  o:=child.create;
+  o.test;
+  o.free;
 end.