diff --git a/test/Test.Mod b/test/Test.Mod
index 41e1faeb099b8b10a52e4abd8a4822de32c9c08e..22bad208f8350fb48acd03124fef64d909750323 100644 (file)
--- a/test/Test.Mod
+++ b/test/Test.Mod
IMPORT Out;
-TYPE
- MyArr = ARRAY 3 OF POINTER TO ARRAY 6 OF INTEGER;
-
VAR
- a : MyArr;
+ a : ARRAY 3 OF INTEGER;
+PROCEDURE Ax(VAR x : ARRAY OF INTEGER);
BEGIN
- Out.Open;
-
- NEW(a[0]);
- a[0][0] := 1;
- Out.Int(a[0][0], 0);
+END Ax;
- Out.Ln;
- Out.Flush;
+BEGIN
+ Out.Open;
+ Ax(a);
+ Out.Flush;
END Test.