summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/good/test27.tig
blob: a4a034c1935498b50d2eba67c99a7a794f88f8a1 (plain)
1
2
3
4
5
6
7
8
/* locals hide globals */
let
        var a :=0

        function g(a : int) : int = a
in
 g(2)
end