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