From 47521ad6d85f9bd6caee39696ce40dff82cfa50d Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 2 Sep 2026 13:31:04 +0200 Subject: Implement program entry point --- testsuite/fail_compilation/opaque_pointer_arithmetic.elna | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite/fail_compilation/opaque_pointer_arithmetic.elna') diff --git a/testsuite/fail_compilation/opaque_pointer_arithmetic.elna b/testsuite/fail_compilation/opaque_pointer_arithmetic.elna index 307aed8..0223cc8 100644 --- a/testsuite/fail_compilation/opaque_pointer_arithmetic.elna +++ b/testsuite/fail_compilation/opaque_pointer_arithmetic.elna @@ -4,6 +4,7 @@ type var p: ^Handle +program() begin p := p + 1 (* @Error Opaque type 'Handle' cannot be used as an element type in pointer arithmetic *) end. -- cgit v1.2.3