Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5692586ae59be8d49edd7b45dd52c1ffa920ba5e
/
.
/
test
/
Sema
/
block-return-2.c
blob: d389f4e4ffcc72e5dc9ae3ee4942a33709d3c4ba [
file
] [
log
] [
blame
]
Mike Stump
5692586
2009-07-28 22:04:01 +0000
[
diff
] [
blame^
]
1
// RUN: clang-cc -fsyntax-only %s -verify -fblocks
2
3
void
foo
()
{
4
^
(
void
)
__attribute__
((
noreturn
))
{
}();
// expected-error {{block declared 'noreturn' should not return}}
5
}