Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / pragma-diag-11.c
blob2eef5c418dfb356e6dd326330ac024f92de74326
1 /* { dg-do compile } */
2 /* { dg-options "-Wundef" } */
3 #pragma GCC diagnostic ignored "-Wundef"
4 #if FOO
5 #endif
6 #define P _Pragma ("GCC diagnostic push") _Pragma ("GCC diagnostic warning \"-Wundef\"")
8 #if FOO2 /* { dg-warning "is not defined" } */
9 #endif
10 #pragma GCC diagnostic pop
11 #if FOO3
12 #endif
13 int i;