summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/good/variable-escapes.tig
blob: 7d8e759fae5ba21a1eca1828ca2bdb1a44dfcf52 (plain)
1
2
3
4
5
6
7
let
  var one := 1
  var two := 2
  function incr(x: int) : int = x + one
in
  incr(two)
end