OSDN Git Service

2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / warning-directive-2.c
1 // { dg-do preprocess }
2 // { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=cpp" }
3 /* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
4 #warning "Printed"  // { dg-error "\"Printed\" .-Wcpp." }