Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
Parser
/
bad-control.c
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}} */
}