1 /* { dg-do compile } */
2 /* { dg-options "-Wundef" } */
3 #pragma GCC diagnostic ignored "-Wundef"
6 #define P _Pragma ("GCC diagnostic push") _Pragma ("GCC diagnostic warning \"-Wundef\"")
8 #if FOO2 /* { dg-warning "is not defined" } */
10 #pragma GCC diagnostic pop