summaryrefslogtreecommitdiff
path: root/tiger-compiler/tests/object/type/class-to-int.tig
blob: a69e5a4551f36e4cf579fb96d78de58599b41e0e (plain)
1
2
3
4
5
6
let
  type Entity = class {}
  var object := new Entity
in
  object := 42
end