repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Sema
/
block-return-3.c
blob
fd629088871357b4cc743d926f8cdbd603a48398
1
// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
2
3
void
foo
(
void
) {
4
^
int
(
void
) { }();
// expected-error {{non-void block does not return a value}}
5
}