florian 21 anos atrás
pai
commit
741f42c3b0
1 arquivos alterados com 17 adições e 0 exclusões
  1. 17 0
      tests/test/tobject4.pp

+ 17 - 0
tests/test/tobject4.pp

@@ -0,0 +1,17 @@
+{$mode objfpc}
+type
+  to1 = class
+    a1 : array[0..100] of byte;
+    s1 : ansistring;
+    a2 : array[0..100] of byte;
+    s2 : ansistring;
+    s3 : ansistring;
+  end;
+
+var
+  o1 : to1;
+
+begin
+  o1:=to1.create;
+  o1.destroy;
+end.