aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/slice_cast.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-08-18 13:31:47 +0200
committerEugen Wissner <belka@caraus.de>2026-08-18 13:31:47 +0200
commit4f77ad5d019618893c59a0f8d5bfa6b98e50a3be (patch)
treed9e01460ecf94a491be476fbca76b6608276d967 /testsuite/runnable/slice_cast.elna
parent4b7c87a9b53f5317e9f7982bd779d53a66960bdc (diff)
downloadelna-4f77ad5d019618893c59a0f8d5bfa6b98e50a3be.tar.gz
Make Int and Word aliases to fixed-size types
Diffstat (limited to 'testsuite/runnable/slice_cast.elna')
-rw-r--r--testsuite/runnable/slice_cast.elna4
1 files changed, 2 insertions, 2 deletions
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.