forked from OSchip/llvm-project
6 lines
149 B
C
6 lines
149 B
C
|
// RUN: clang-cc -fsyntax-only %s -verify -fblocks
|
||
|
|
||
|
void foo() {
|
||
|
^ int (void) { }(); // expected-error {{control reaches end of non-void block}}
|
||
|
}
|