Debian Codegraph @

gcc/testsuite/objc.dg/break-in-ifstmt.m

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-Wno-objc-root-class" } */
3
4 @interface foo
5 - (void) test;
6 @end
7
8 @implementation foo
9 -(void) test {
10 if (1) {
11 break; /* { dg-error "break" } */
12 }
13 }
14 @end
15