1/* { dg-do preprocess } */
2
3/* Tests for line numbering around function-like macro calls.
4   Bug found by Mark Mitchell.  */
5
6#define f(x) x
7#define g f
8
9f (3);
10#error here	/* { dg-error "here" "case 0" } */
11
12f
13  (3);
14#error here	/* { dg-error "here" "case 1" } */
15
16(f
17  )(3);
18#error here	/* { dg-error "here" "case 2" } */
19
20g
21  (3);
22#error here	/* { dg-error "here" "case 3" } */
23
24(g
25  )(3);
26#error here	/* { dg-error "here" "case 4" } */
27
28f /* some
29     text */  (3);
30#error here	/* { dg-error "here" "case 5" } */
31
32(g /* some
33      text */ )(3);
34#error here	/* { dg-error "here" "case 6" } */
35