aboutsummaryrefslogtreecommitdiff
path: root/testsuite/runnable/slice_cast.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/runnable/slice_cast.elna')
-rw-r--r--testsuite/runnable/slice_cast.elna2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/runnable/slice_cast.elna b/testsuite/runnable/slice_cast.elna
index d11f80a..0d4a861 100644
--- a/testsuite/runnable/slice_cast.elna
+++ b/testsuite/runnable/slice_cast.elna
@@ -4,4 +4,6 @@ var
program()
begin
assert(cast(ints[1u to 4u]: []Int8).length = #size(Int32) * ints.length)
+return 0u8
+
end.