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
11