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