Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / 19990413-1.c
blob61d8ad6550d5482c5346eba1b592a1cc6c556419
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 error|syntax error|expected" "error on this line" { target *-*-* } { 12 } } */