Browse Source

no message

florian 21 years ago
parent
commit
741f42c3b0
1 changed files with 17 additions and 0 deletions
  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.