aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/compile_time_array_length.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-05 01:03:55 +0200
committerEugen Wissner <belka@caraus.de>2026-08-05 21:27:36 +0200
commitb2dee14873402ee3d13d59ae5579593796ea862f (patch)
tree1f245eac1a23a73f45124498fc8274874e35750e /testsuite/compilable/compile_time_array_length.elna
parent1c2fb173ea3b674207badc721556ad72962b266e (diff)
downloadelna-b2dee14873402ee3d13d59ae5579593796ea862f.tar.gz
Check that constants are initialized
Diffstat (limited to 'testsuite/compilable/compile_time_array_length.elna')
-rw-r--r--testsuite/compilable/compile_time_array_length.elna2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/compilable/compile_time_array_length.elna b/testsuite/compilable/compile_time_array_length.elna
index 1ce8956..12e706f 100644
--- a/testsuite/compilable/compile_time_array_length.elna
+++ b/testsuite/compilable/compile_time_array_length.elna
@@ -1,5 +1,5 @@
var
- source: [3]Int := [3]Int{ 1, 2, 3}
+ source: const [3]Int := [3]Int{ 1, 2, 3 }
target: Word := source.length
end.