Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d98aab5a7ed06af779fdafa293b0df44ce8606dc
/
.
/
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}} */
}