summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/20000129-1.c
blob: 878002beeb9520894c3f47954eb96761bd87ffc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Regression test for trigraph warnings.  Under certain conditions we
   got the line numbers wrong.
   Originally exposed by XEmacs and reported by Martin Buchholz
   <martin@xemacs.org>; this test case is synthetic.  */

/* { dg-do preprocess } */
/* { dg-options -Wall } */

#define some_macro \
	blah	\
	blah	\
	blah	\
	blah

??>	/* { dg-warning "trigraph ..." "trigraph encountered" } */