blob: 7f955b76dba87fe8205d842927dfd38537a83c08 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
void foo() {
^ int (void) { }(); // expected-error {{non-void block does not return a value}}
}