aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/repeat_loop.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-23 20:01:55 +0200
committerEugen Wissner <belka@caraus.de>2026-08-23 20:01:55 +0200
commit7d0d0eb69589ab8e0c8b036a3b642593a372b041 (patch)
treecf3731cec0ab67a0d574450fbe24c3cff4a7a9e6 /testsuite/runnable/repeat_loop.elna
parentbf41d022ce9736a92097f416ab96fca7ab4594ca (diff)
downloadelna-7d0d0eb69589ab8e0c8b036a3b642593a372b041.tar.gz
Determine array type by the first element
Diffstat (limited to 'testsuite/runnable/repeat_loop.elna')
-rw-r--r--testsuite/runnable/repeat_loop.elna4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/runnable/repeat_loop.elna b/testsuite/runnable/repeat_loop.elna
index 5faaeab..71554f0 100644
--- a/testsuite/runnable/repeat_loop.elna
+++ b/testsuite/runnable/repeat_loop.elna
@@ -1,5 +1,5 @@
var
- actual: [4]Word := [4]Word{}
+ actual: [4]Word := [0u, 0u, 0u, 0u]
i: Word := 0u
begin
@@ -7,5 +7,5 @@ begin
i := i + 1u;
actual[i] := i
until i = 4u;
- assert(actual = [4]Word{ 1u, 2u, 3u, 4u })
+ assert(actual = [1u, 2u, 3u, 4u])
end.