Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / objc.dg / break-in-ifstmt.m
blob6176832ed1c56e847f047a21b50c5821b911707a
1 /* { dg-do compile } */
2 /* { dg-additional-options "-Wno-objc-root-class" } */
4 @interface foo
5 - (void) test;
6 @end
8 @implementation foo
9 -(void) test {
10   if (1) {
11         break;  /* { dg-error "break" } */
12         }
14 @end