/* RUN: %clang_cc1 -fsyntax-only -verify %s
*/voidfoo(void){break;/* expected-error {{'break' statement not in loop or switch statement}} */}voidfoo2(void){continue;/* expected-error {{'continue' statement not in loop statement}} */}intpr8880_9(intfirst){switch(({if(first){ first =0;break;}1;})){// expected-error {{'break' statement not in loop or switch statement}}
case2:return2;default:return0;}}voidpr8880_24(void){for(({break;});;);// expected-error {{'break' statement not in loop or switch statement}}
}voidpr8880_25(void){for(({continue;});;);// expected-error {{'continue' statement not in loop statement}}
}