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