summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/type/test29.tig
blob: d47b966b2cfdcd34f86bdd26bd466e757635511e (plain)
1
2
3
4
5
6
7
8
9
10
/* 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