summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/good/test44.tig
blob: c7657de5c1fd23953c77952417e5e8ba457bb375 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* valid nil initialization and assignment */
let

        type rectype = {name : string, id : int}
        var b : rectype := nil

in

        b := nil

end