diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail330.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail330.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail330.d b/gcc/testsuite/gdc.test/fail_compilation/fail330.d index a3409db5d1a..94e91bbad3c 100644 --- a/gcc/testsuite/gdc.test/fail_compilation/fail330.d +++ b/gcc/testsuite/gdc.test/fail_compilation/fail330.d @@ -1,10 +1,10 @@ /* TEST_OUTPUT: --- -fail_compilation/fail330.d(9): Error: variable fail330.fun.result cannot modify result 'result' in contract +fail_compilation/fail330.d(9): Error: variable `fail330.fun.result` cannot modify result `result` in contract --- */ int fun() out(result) { result = 2; } -body { return 1; } +do { return 1; } |