* diagnostic.h (diagnostic_override_option_index): New macro to
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / warning-directive-2.c
blob0889803cd11632d6e38499c2b24472e052b94e50
1 // { dg-do preprocess }
2 // { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=cpp" }
4 #warning "Printed" // { dg-error "\"Printed\" .-Wcpp." }