OSDN Git Service

PR preprocessor/30805:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / 20000129-1.c
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    <martin@xemacs.org>; 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" } */