☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
objc.dg
/
break-in-ifstmt.m
☽
☼
gcc/testsuite/objc.dg/break-in-ifstmt.m
code
plain
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