diff options
Diffstat (limited to 'testsuite/runnable')
| -rw-r--r-- | testsuite/runnable/slice_cast.elna | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/runnable/slice_cast.elna b/testsuite/runnable/slice_cast.elna new file mode 100644 index 0000000..5ab2c93 --- /dev/null +++ b/testsuite/runnable/slice_cast.elna @@ -0,0 +1,6 @@ +var + ints: [4]Int := [4]Int{ 1, 2, 3, 4 } + +begin + assert(cast(ints[1u to 4u]: []Char).length = #size(Int) * ints.length) +end. |
