mirror of git://gcc.gnu.org/git/gcc.git
6 lines
326 B
C
6 lines
326 B
C
// { dg-do preprocess }
|
|
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=cpp" { target c } }
|
|
// { dg-options "-fdiagnostics-show-option -Werror=cpp" { target c++ } }
|
|
/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
|
|
#warning "Printed" // { dg-error "\"Printed\" .-Werror=cpp." }
|