diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail4375x.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail4375x.d | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail4375x.d b/gcc/testsuite/gdc.test/fail_compilation/fail4375x.d index 33c8eb2a899..f29a6e33553 100644 --- a/gcc/testsuite/gdc.test/fail_compilation/fail4375x.d +++ b/gcc/testsuite/gdc.test/fail_compilation/fail4375x.d @@ -3,7 +3,9 @@ /* TEST_OUTPUT: --- -fail_compilation/fail4375x.d(14): Warning: else is dangling, add { } after condition at fail_compilation/fail4375x.d(11) +fail_compilation/fail4375x.d(16): Warning: else is dangling, add { } after condition at fail_compilation/fail4375x.d(13) +Error: warnings are treated as errors + Use -wi if you wish to treat warnings only as informational. --- */ |