llvm-project/clang/test/Sema/block-return-3.c

6 lines
151 B
C

// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
void foo() {
^ int (void) { }(); // expected-error {{control reaches end of non-void block}}
}