modern-compiler-ml/tiger/testcases/test2.tig
jmug 33d8bac511 Add the tiger source code bundle from the book site
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
2024-12-18 15:18:45 -08:00

9 lines
161 B
Text

/* arr1 is valid since expression 0 is int = myint */
let
type myint = int
type arrtype = array of myint
var arr1:arrtype := arrtype [10] of 0
in
arr1
end