diff options
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. |
