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
Driver: tweak handling of '--analyze' to invoke
[clang.git]
/
test
/
Sema
/
block-return-3.c
blob
cd942a7f3047395ce8a4f1f4286dd0735f8fa1ae
1
// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
2
3
void
foo
() {
4
^
int
(
void
) { }();
// expected-error {{control reaches end of non-void block}}
5
}