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/reference_slicing.elna | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite/fail_compilation/reference_slicing.elna') diff --git a/testsuite/fail_compilation/reference_slicing.elna b/testsuite/fail_compilation/reference_slicing.elna index fac8ec6..078b48a 100644 --- a/testsuite/fail_compilation/reference_slicing.elna +++ b/testsuite/fail_compilation/reference_slicing.elna @@ -2,6 +2,7 @@ var s: [3]Int p: ^Int +program() begin p := @s[1 to 2] (* @Error Expression of type '\[\]Int' is not addressable *) end. -- cgit v1.2.3