repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Do not warn with -Wuninitialized when the member is used in a sizeof or address-of...
[clang.git]
/
test
/
Parser
/
bad-control.c
blob
480d81be0d571dbc2a766f7691c3cf1b045ed55f
1
/* RUN: %clang_cc1 -fsyntax-only -verify %s
2
*/
3
void
foo
() {
4
break
;
/* expected-error {{'break' statement not in loop or switch statement}} */
5
}
6
7
void
foo2
() {
8
continue
;
/* expected-error {{'continue' statement not in loop statement}} */
9
}