OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / obj-c++.dg / syntax-error-3.mm
1 /* Yet another stray infinite loop... */
2 /* { dg-do compile } */
3
4 @interface Foo
5 {
6   int x;
7   int y;
8 }
9 - (int) foo ; { /* { dg-error "stray .\{. between Objective\\-C\\+\\+ methods" } */
10 @end