Preserving locations for variable-uses and constants (PR c++/43486)
[official-gcc.git] / gcc / testsuite / objc.dg / pr48187.m
blobcd7910da92471e3362cc280f577c774f7d60a4d8
1 /* { dg-do compile } */
3 @interface A
5   ]  /* { dg-error "xpected" } */
7 @end
9 @interface B
11   ];  /* { dg-error "xpected" } */
13 @end
15 @interface C
17   ];  /* { dg-error "xpected" } */
18   int x;
20 @end
22 @interface D
24   )  /* { dg-error "xpected" } */
26 @end
28 @interface E
30   );  /* { dg-error "xpected" } */
32 @end
34 @interface F
36   );  /* { dg-error "xpected" } */
37   int x;
39 @end