blob: fab9fa303945c30570a9b59400affedea7e803a2 [file] [log] [blame]
/* RUN: clang -fsyntax-only -verify %s
*/
int foo() {
break; /* expected-error {{'break' statement not in loop or switch statement}} */
}
int foo2() {
continue; /* expected-error {{'continue' statement not in loop statement}} */
}