aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/assign_to_call_result_field.elna
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/fail_compilation/assign_to_call_result_field.elna')
-rw-r--r--testsuite/fail_compilation/assign_to_call_result_field.elna2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/assign_to_call_result_field.elna b/testsuite/fail_compilation/assign_to_call_result_field.elna
index 25096ed..50cd135 100644
--- a/testsuite/fail_compilation/assign_to_call_result_field.elna
+++ b/testsuite/fail_compilation/assign_to_call_result_field.elna
@@ -13,4 +13,6 @@ return result
program()
begin
make().x := 5 (* @Error Expression of type 'Int' is not addressable *)
+return 0u8
+
end.