diff --git a/src/test.c b/src/test.c
index 6543c472967939fdd097218aacb349d860ed90ba..7d3ce627460453a8d1bfb105585b689eb7d11a1d 100644 (file)
--- a/src/test.c
+++ b/src/test.c
"(* Main module *)"
"MODULE Test;"
"VAR"
"(* Main module *)"
"MODULE Test;"
"VAR"
- " x : INTEGER;"
- " b : BOOLEAN;"
- ""
- "PROCEDURE Tier(x : INTEGER) : INTEGER;"
- "VAR"
- " y, z, w : INTEGER;"
+ " l : POINTER TO ARRAY 16 OF BOOLEAN;"
"BEGIN"
"BEGIN"
- " y := 7777;"
- " RETURN x * x + y;"
- "END Tier;"
- ""
- "BEGIN;"
- " x := ABS(-666);"
- " x := Tier(x);"
- " b := TRUE OR FALSE;"
+ " NEW(l);"
+ " l^ := l^;"
"END Test."
;
"END Test."
;