瀏覽代碼

* updated

peter 22 年之前
父節點
當前提交
9d0f27ffdc
共有 1 個文件被更改,包括 6 次插入1 次删除
  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
 type
 parent = class
 parent = class
@@ -13,5 +13,10 @@ begin
 inherited;
 inherited;
 end;
 end;
 
 
+var
+  o : child;
 begin
 begin
+  o:=child.create;
+  o.test;
+  o.free;
 end.
 end.