summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/good/three-name-spaces.tig
blob: d87e50ea11d8e2849627a7df8e48e68ead8b9736 (plain)
1
2
3
4
5
6
let type a = {a : int}
    var  a := 0
    function a(a : a) : a = a{a = a.a}
in
    a(a{a = a})
end