summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/good/array-of-alias.tig
blob: f90f1cb3008cb2a148bb14d695a4082ae9982c5d (plain)
1
2
3
4
5
6
7
8
9
/* 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