Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
9baf39df74caa56696b293e763fdd7ef002e51ca
/
.
/
test
/
Sema
/
block-return-3.c
blob: cd942a7f3047395ce8a4f1f4286dd0735f8fa1ae [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
void
foo
()
{
^
int
(
void
)
{
}();
// expected-error {{control reaches end of non-void block}}
}