diff options
Diffstat (limited to 'testsuite/fail_compilation/assign_to_call_result_field.elna')
| -rw-r--r-- | testsuite/fail_compilation/assign_to_call_result_field.elna | 1 |
1 files changed, 1 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 509b2dd..25096ed 100644 --- a/testsuite/fail_compilation/assign_to_call_result_field.elna +++ b/testsuite/fail_compilation/assign_to_call_result_field.elna @@ -10,6 +10,7 @@ begin result.x := 1 return result +program() begin make().x := 5 (* @Error Expression of type 'Int' is not addressable *) end. |
