Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
a6da192bbb3cb2b99200f60726b78e2d3d1f1598
/
.
/
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}}
}