annotate gcc/testsuite/gcc.dg/cpp/20000129-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Regression test for trigraph warnings. Under certain conditions we
kono
parents:
diff changeset
2 got the line numbers wrong.
kono
parents:
diff changeset
3 Originally exposed by XEmacs and reported by Martin Buchholz
kono
parents:
diff changeset
4 <martin@xemacs.org>; this test case is synthetic. */
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 /* { dg-do preprocess } */
kono
parents:
diff changeset
7 /* { dg-options -Wall } */
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 #define some_macro \
kono
parents:
diff changeset
10 blah \
kono
parents:
diff changeset
11 blah \
kono
parents:
diff changeset
12 blah \
kono
parents:
diff changeset
13 blah
kono
parents:
diff changeset
14
kono
parents:
diff changeset
15 ??> /* { dg-warning "trigraph ..." "trigraph encountered" } */