diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail177.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail177.d | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail177.d b/gcc/testsuite/gdc.test/fail_compilation/fail177.d index 1e1207732a0..49edf4da40c 100644 --- a/gcc/testsuite/gdc.test/fail_compilation/fail177.d +++ b/gcc/testsuite/gdc.test/fail_compilation/fail177.d @@ -1,12 +1,12 @@ /* TEST_OUTPUT: --- -fail_compilation/fail177.d(22): Error: cannot modify immutable expression j -fail_compilation/fail177.d(24): Error: cannot modify const expression i -fail_compilation/fail177.d(26): Error: cannot modify const expression s1.x -fail_compilation/fail177.d(27): Error: cannot modify const expression *s1.p -fail_compilation/fail177.d(29): Error: cannot modify const expression s2.x -fail_compilation/fail177.d(30): Error: cannot modify const expression *s2.p +fail_compilation/fail177.d(22): Error: cannot modify `immutable` expression `j` +fail_compilation/fail177.d(24): Error: cannot modify `const` expression `i` +fail_compilation/fail177.d(26): Error: cannot modify `const` expression `s1.x` +fail_compilation/fail177.d(27): Error: cannot modify `const` expression `*s1.p` +fail_compilation/fail177.d(29): Error: cannot modify `const` expression `s2.x` +fail_compilation/fail177.d(30): Error: cannot modify `const` expression `*s2.p` --- */ |