From 4f77ad5d019618893c59a0f8d5bfa6b98e50a3be Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 18 Aug 2026 13:31:47 +0200 Subject: Make Int and Word aliases to fixed-size types --- testsuite/runnable/slice_cast.elna | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/runnable/slice_cast.elna') diff --git a/testsuite/runnable/slice_cast.elna b/testsuite/runnable/slice_cast.elna index 5ab2c93..7c43959 100644 --- a/testsuite/runnable/slice_cast.elna +++ b/testsuite/runnable/slice_cast.elna @@ -1,6 +1,6 @@ var - ints: [4]Int := [4]Int{ 1, 2, 3, 4 } + ints: [4]Int32 := [4]Int32{ 1i32, 2i32, 3i32, 4i32 } begin - assert(cast(ints[1u to 4u]: []Char).length = #size(Int) * ints.length) + assert(cast(ints[1u to 4u]: []Int8).length = #size(Int32) * ints.length) end. -- cgit v1.2.3