1 /* RUN: %clang_cc1 -fsyntax-only -verify %s
2 */
3 void foo() {
4 break; /* expected-error {{'break' statement not in loop or switch statement}} */
5 }
6
7 void foo2() {
8 continue; /* expected-error {{'continue' statement not in loop statement}} */
9 }
10