modern-compiler-ml/tiger/testcases/test2.tig

10 lines
161 B
Text
Raw Normal View History

/* 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