1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/* Yet another stray infinite loop... */ /* { dg-do compile } */ // { dg-additional-options "-Wno-objc-root-class" } @interface t { } - (void)go; @end @implementation t - (void)go { } } /* { dg-error "stray .\}. between Objective\\-C\\+\\+ methods" } */ @end