gcc/testsuite/gcc.dg/cpp/20000129-1.c
raw| 1 | /* Regression test for trigraph warnings. Under certain conditions we |
| 2 | got the line numbers wrong. |
| 3 | Originally exposed by XEmacs and reported by Martin Buchholz |
| 4 | <[email protected]>; this test case is synthetic. */ |
| 5 | |
| 6 | /* { dg-do preprocess } */ |
| 7 | /* { dg-options -Wall } */ |
| 8 | |
| 9 | #define some_macro \ |
| 10 | blah \ |
| 11 | blah \ |
| 12 | blah \ |
| 13 | blah |
| 14 | |
| 15 | ??> /* { dg-warning "trigraph ..." "trigraph encountered" } */ |