No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / cpp / 20000209-1.c
blobfe7105857e4c808a08722f872b9f33b989c7c54f
1 /* { dg-do preprocess } */
3 /* Tests for line numbering around function-like macro calls.
4 Bug found by Mark Mitchell. */
6 #define f(x) x
7 #define g f
9 f (3);
10 #error here /* { dg-error "here" "case 0" } */
13 (3);
14 #error here /* { dg-error "here" "case 1" } */
17 )(3);
18 #error here /* { dg-error "here" "case 2" } */
21 (3);
22 #error here /* { dg-error "here" "case 3" } */
25 )(3);
26 #error here /* { dg-error "here" "case 4" } */
28 f /* some
29 text */ (3);
30 #error here /* { dg-error "here" "case 5" } */
32 (g /* some
33 text */ )(3);
34 #error here /* { dg-error "here" "case 6" } */