gcc/testsuite/c-c++-common/cpp/dir-only-2.c
raw| 1 | /* Copyright 2007 Free Software Foundation, Inc. |
| 2 | Contributed by Ollie Wild <[email protected]>. */ |
| 3 | |
| 4 | /* { dg-do preprocess } */ |
| 5 | /* { dg-options "-fpreprocessed -fdirectives-only -DNOT_SET" } */ |
| 6 | |
| 7 | /* Tests -fdirectives-only + -fpreprocessed. */ |
| 8 | |
| 9 | /* Check this is not defined. */ |
| 10 | #ifdef NOT_SET |
| 11 | #error Command line macro not disabled. |
| 12 | #endif |