aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/assign_deep_const_pointer.elna
blob: 7ed3840678f00e255dd9f2cdd93f5caeca8bcaaf (plain)
1
2
3
4
5
6
7
8
9
proc f()
var
  p: ^^const Int
  q: ^^Int
begin
  p := q (* @Error Expected type '\^\^const Int', but got '\^\^Int' *)
return

end.