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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/fail_compilation/assign_to_call_result_field.elna b/testsuite/fail_compilation/assign_to_call_result_field.elna index 50cd135..e4995e5 100644 --- a/testsuite/fail_compilation/assign_to_call_result_field.elna +++ b/testsuite/fail_compilation/assign_to_call_result_field.elna @@ -1,3 +1,4 @@ +program() type R = record x: Int @@ -10,9 +11,6 @@ begin result.x := 1 return result -program() begin make().x := 5 (* @Error Expression of type 'Int' is not addressable *) -return 0u8 - end. |
