summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/type/test43.tig
blob: d1dadc708f17c2be9380f60b98f23802b918857b (plain)
1
2
3
4
5
6
7
/* error: initialize with unit and causing type mismatch in addition */

let
        var a := ()
in
        a + 3
end