aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/opaque_pointer_arithmetic.elna
blob: 307aed8d7fca1c397c2580d3bbb7ad5cd7de7ede (plain)
1
2
3
4
5
6
7
8
9
type
  Handle = extern

var
  p: ^Handle

begin
  p := p + 1 (* @Error Opaque type 'Handle' cannot be used as an element type in pointer arithmetic *)
end.