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