summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/type/box.tig
blob: b811029a82d3a552e7cc02f040d8ef6d961a6cff (plain)
1
2
3
4
5
6
7
let
  type     box = { value : int }
  type     dup = { value : int, value : string }
  var      box := box { value = 51 }
in
  box.head
end