Sign in
llvm
/
clang
/
refs/heads/release_26
/
.
/
test
/
Sema
/
block-return-1.c
blob: 2da87351e4f5bc249041c62fd281303dcdfebe9f [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only %s -verify -fblocks
int
j
;
void
foo
()
{
^
(
void
)
{
if
(
j
)
return
1
;
}();
// expected-error {{control may reach end of non-void block}}
}