aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/assign_to_slicing.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/fail_compilation/assign_to_slicing.elna')
-rw-r--r--testsuite/fail_compilation/assign_to_slicing.elna2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/assign_to_slicing.elna b/testsuite/fail_compilation/assign_to_slicing.elna
index 6743e06..92d0dae 100644
--- a/testsuite/fail_compilation/assign_to_slicing.elna
+++ b/testsuite/fail_compilation/assign_to_slicing.elna
@@ -5,4 +5,6 @@ var
program()
begin
s[1 to 2] := t[1 to 2] (* @Error Expression of type '\[\]Int' is not addressable *)
+return 0u8
+
end.