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

program()
begin
  p := @5 (* @Error Expression of type 'Int' is not addressable *)
return 0u8

end.