Sign in
llvm
/
clang
/
943e5a44883539848588e33bffbe2a1773dc4b43
/
.
/
test
/
Sema
/
block-return-3.c
blob: cd942a7f3047395ce8a4f1f4286dd0735f8fa1ae [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
void
foo
()
{
^
int
(
void
)
{
}();
// expected-error {{control reaches end of non-void block}}
}