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