gcc/testsuite/c-c++-common/cpp/dir-only-5.c
raw| 1 | /* Copyright 2007 Free Software Foundation, Inc. |
| 2 | Contributed by Ollie Wild <[email protected]>. */ |
| 3 | |
| 4 | /* C++ silently ignores traditional! */ |
| 5 | /* { dg-do preprocess { target c } } */ |
| 6 | /* { dg-options "-fdirectives-only -traditional" } */ |
| 7 | /* { dg-error "'-fdirectives-only' is incompatible with '-traditional'\n" "'-traditional' check" { target *-*-* } 0 } */ |