Browse Source

* updated

peter 22 năm trước cách đây
mục cha
commit
9d0f27ffdc
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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.