diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-08-18 13:31:47 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-08-18 13:31:47 +0200 |
| commit | 4f77ad5d019618893c59a0f8d5bfa6b98e50a3be (patch) | |
| tree | d9e01460ecf94a491be476fbca76b6608276d967 /testsuite/runnable/slice_cast.elna | |
| parent | 4b7c87a9b53f5317e9f7982bd779d53a66960bdc (diff) | |
| download | elna-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.elna | 4 |
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. |
