diff options
Diffstat (limited to 'testsuite/fail_compilation/reference_slicing.elna')
| -rw-r--r-- | testsuite/fail_compilation/reference_slicing.elna | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/reference_slicing.elna b/testsuite/fail_compilation/reference_slicing.elna index 078b48a..3875a5d 100644 --- a/testsuite/fail_compilation/reference_slicing.elna +++ b/testsuite/fail_compilation/reference_slicing.elna @@ -5,4 +5,6 @@ var program() begin p := @s[1 to 2] (* @Error Expression of type '\[\]Int' is not addressable *) +return 0u8 + end. |
