summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/syntax-error-4.mm
blob: 0df061839b4993cec6dfeeec0e5cc590fabccfb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Yet another stray infinite loop... */
/* { dg-do compile } */

@interface t
{
}
- (void)go;
@end
@implementation t
- (void)go
{
        }
} /* { dg-error "stray .\}. between Objective\\-C\\+\\+ methods" } */
@end