aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/opaque_pointer_arithmetic.elna
blob: 117994abab5f92e2c717ebf1f3871efeaa88d17d (plain)
1
2
3
4
5
6
7
8
9
10
program()
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.