From 1c2fb173ea3b674207badc721556ad72962b266e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 2 Aug 2026 17:05:34 +0200 Subject: Check array property accessbility at compile time --- testsuite/compilable/compile_time_array_length.elna | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 testsuite/compilable/compile_time_array_length.elna (limited to 'testsuite/compilable') diff --git a/testsuite/compilable/compile_time_array_length.elna b/testsuite/compilable/compile_time_array_length.elna new file mode 100644 index 0000000..1ce8956 --- /dev/null +++ b/testsuite/compilable/compile_time_array_length.elna @@ -0,0 +1,5 @@ +var + source: [3]Int := [3]Int{ 1, 2, 3} + target: Word := source.length + +end. -- cgit v1.2.3