diff options
Diffstat (limited to 'testsuite/fail_compilation/opaque_pointer_arithmetic.elna')
| -rw-r--r-- | testsuite/fail_compilation/opaque_pointer_arithmetic.elna | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/opaque_pointer_arithmetic.elna b/testsuite/fail_compilation/opaque_pointer_arithmetic.elna index 0223cc8..cb3a20e 100644 --- a/testsuite/fail_compilation/opaque_pointer_arithmetic.elna +++ b/testsuite/fail_compilation/opaque_pointer_arithmetic.elna @@ -7,4 +7,6 @@ var program() begin p := p + 1 (* @Error Opaque type 'Handle' cannot be used as an element type in pointer arithmetic *) +return 0u8 + end. |
