aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/reference_literal.elna
blob: 1eef82ff271da2242d1cf06798509c6662333344 (plain)
1
2
3
4
5
6
7
var
  p: ^Int

program()
begin
  p := @5 (* @Error Expression of type 'Int' is not addressable *)
end.