Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
5f016e2cb5d11daeb237544de1c5d59f20fe1a6e
/
.
/
test
/
Parser
/
bad-control.c
blob: 914393461a9142d6e61a2b99b2fc907721cff25e [
file
] [
log
] [
blame
]
/* RUN: clang -parse-ast-check %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}} */
}