@@ -25,4 +25,5 @@ Units ................. testu1.pp tests init. & finalization and halt
testu4.pp
testu5.pp
case .................. testcase.pp tests case statements with byte and word
- sized decision variables
+ sized decision variables
+Arrays ................ testarr1.pp small test for open arrays with classes
@@ -0,0 +1,19 @@
+{$mode objfpc}
+type
+ tc1 = class
+ end;
+
+ tc2 = class(tc1)
+ tcoc1 = class of tc1;
+ tcoc2 = class of tc2;
+procedure p(const a : array of tcoc1);
+ begin
+begin
+ p([tc2]);
+end.