2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / 19990413-1.c
blob22fc5db22189352b563287395dfe06a9cc6421e6
1 /* Verify that cpp doesn't screw up the line numbering when a macro argument
2 extends over multiple lines. */
3 /* { dg-do compile } */
5 #define FOO(x) /* nothing */
7 void
8 func(void)
10 FOO(i
11 = 4)
12 else; /* { dg-error "(parse|syntax) error" "error on this line" { target *-*-* } { 12 } } */