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}}
}