peter hace 22 años
padre
commit
9d0f27ffdc
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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.