diff options
Diffstat (limited to 'testsuite/fail_compilation/assign_to_slicing.elna')
| -rw-r--r-- | testsuite/fail_compilation/assign_to_slicing.elna | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/fail_compilation/assign_to_slicing.elna b/testsuite/fail_compilation/assign_to_slicing.elna index 92d0dae..da369b3 100644 --- a/testsuite/fail_compilation/assign_to_slicing.elna +++ b/testsuite/fail_compilation/assign_to_slicing.elna @@ -1,10 +1,8 @@ +program() var s: [3]Int t: [2]Int -program() begin s[1 to 2] := t[1 to 2] (* @Error Expression of type '\[\]Int' is not addressable *) -return 0u8 - end. |
