modern-compiler-ml/tiger/testcases/test29.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

10 lines
157 B
Text

/* error : different array types */
let
type arrtype1 = array of int
type arrtype2 = array of int
var arr1: arrtype1 := arrtype2 [10] of 0
in
arr1
end