Sign in
llvm
/
llvm-project
/
clang
/
a02690efdad6df0a2756e08b5ca71f0b195d7713
/
.
/
test
/
Sema
/
block-return-2.c
blob: d389f4e4ffcc72e5dc9ae3ee4942a33709d3c4ba [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only %s -verify -fblocks
void
foo
()
{
^
(
void
)
__attribute__
((
noreturn
))
{
}();
// expected-error {{block declared 'noreturn' should not return}}
}