gcc/testsuite/c-c++-common/cpp/warning-directive-2.c
raw| 1 | // { dg-do preprocess } |
| 2 | // { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=cpp" { target c } } |
| 3 | // { dg-options "-fdiagnostics-show-option -Werror=cpp" { target c++ } } |
| 4 | /* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */ |
| 5 | #warning "Printed" // { dg-error "\"Printed\" .-Werror=cpp." } |