Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / pragma-diag-14.c
blob45dc4a38c5c03acc7797ae8e2fd8fd0268b2e49c
1 /* { dg-do preprocess } */
2 /* { dg-additional-options "-Wunused-macros" } */
4 /* In the past, the pragma has erroneously disabled the warning because the
5 location was not tracked properly with -E or -save-temps; check that it works
6 now. */
8 #define X /* { dg-warning "-Wunused-macros" } */
9 #pragma GCC diagnostic ignored "-Wunused-macros"