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

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