aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/assign_deep_const_pointer.elna
blob: 7c977d48b60a00270daa8ec9abe6fdc39b8a97df (plain)
1
2
3
4
5
6
7
8
9
10
11
module

proc f()
var
  p: ^^const Int
  q: ^^Int
begin
  p := q (* @Error Expected type '\^\^const Int', but got '\^\^Int' *)
return

end.