Debian Codegraph @

gcc/testsuite/obj-c++.dg/syntax-error-4.mm

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