diff options
Diffstat (limited to 'testsuite/fail_compilation/unary_plus_on_record.elna')
| -rw-r--r-- | testsuite/fail_compilation/unary_plus_on_record.elna | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/fail_compilation/unary_plus_on_record.elna b/testsuite/fail_compilation/unary_plus_on_record.elna index 7289873..e1f6f4c 100644 --- a/testsuite/fail_compilation/unary_plus_on_record.elna +++ b/testsuite/fail_compilation/unary_plus_on_record.elna @@ -3,7 +3,7 @@ type x: Int end -proc f(r: R): Int +proc f(r: R) -> Int return +r (* @Error Type 'R' cannot be used with unary '\+' *) end. |
