gcc/testsuite/gcc.dg/pr69900.c
raw| 1 | /* PR c/69900 */ |
| 2 | /* { dg-do compile } */ |
| 3 | |
| 4 | #pragma GCC diagnostic error "-Wunreachable-code" /* { dg-bogus "is not an option that controls warnings" } */ |
| 5 | #pragma GCC diagnostic warning "-Wunreachable-code" /* { dg-bogus "is not an option that controls warnings" } */ |
| 6 | #pragma GCC diagnostic ignored "-Wunreachable-code" /* { dg-bogus "is not an option that controls warnings" } */ |