1 /* RUN: %clang_cc1 -fsyntax-only -verify %s
4 break; /* expected-error {{'break' statement not in loop or switch statement}} */
8 continue; /* expected-error {{'continue' statement not in loop statement}} */
11 int pr8880_9 (int first
) {
12 switch(({ if (first
) { first
= 0; break; } 1; })) { // expected-error {{'break' statement not in loop or switch statement}}
18 void pr8880_24(void) {
19 for (({break;});;); // expected-error {{'break' statement not in loop or switch statement}}
22 void pr8880_25(void) {
23 for (({continue;});;); // expected-error {{'continue' statement not in loop statement}}