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/for_each_slice.elna | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuite/runnable/for_each_slice.elna') diff --git a/testsuite/runnable/for_each_slice.elna b/testsuite/runnable/for_each_slice.elna index bfc8b44..31bc65a 100644 --- a/testsuite/runnable/for_each_slice.elna +++ b/testsuite/runnable/for_each_slice.elna @@ -1,10 +1,10 @@ +program() var actual: [4]Word := [0u, 0u, 0u, 0u] input: [4]Word := [2u, 4u, 6u, 8u] slice: []Word i: Word := 1u -program() begin slice := input[1u to input.length]; @@ -13,6 +13,4 @@ begin i := i + 1u end; assert(actual = [4u, 8u, 12u, 16u]) -return 0u8 - end. -- cgit v1.2.3