From f7b035a505e86ad916a43ab1dc1a662a6066b011 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 24 Sep 2026 00:39:51 +0200 Subject: Move module heading to the top --- testsuite/runnable/repeat_loop.elna | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuite/runnable/repeat_loop.elna') diff --git a/testsuite/runnable/repeat_loop.elna b/testsuite/runnable/repeat_loop.elna index 084b801..ff09735 100644 --- a/testsuite/runnable/repeat_loop.elna +++ b/testsuite/runnable/repeat_loop.elna @@ -1,14 +1,12 @@ +program() var actual: [4]Word := [0u, 0u, 0u, 0u] i: Word := 0u -program() begin repeat i := i + 1u; actual[i] := i until i = 4u; assert(actual = [1u, 2u, 3u, 4u]) -return 0u8 - end. -- cgit v1.2.3