aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/opaque_pointer_arithmetic.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-09-07 22:02:15 +0200
committerEugen Wissner <belka@caraus.de>2026-09-07 23:39:53 +0200
commit72f5e82196d95008ed12c12de6bdccf24361e106 (patch)
tree8319324de8e2a5182dc3c1ddca00a837c2489ad2 /testsuite/fail_compilation/opaque_pointer_arithmetic.elna
parent47521ad6d85f9bd6caee39696ce40dff82cfa50d (diff)
downloadelna-72f5e82196d95008ed12c12de6bdccf24361e106.tar.gz
Make module entry point more procedure like
Diffstat (limited to 'testsuite/fail_compilation/opaque_pointer_arithmetic.elna')
-rw-r--r--testsuite/fail_compilation/opaque_pointer_arithmetic.elna2
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.