1 // RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks 2 3 int j; foo()4 void foo() { 5 ^ (void) { if (j) return 1; }(); // expected-error {{non-void block does not return a value in all control paths}} 6 } 7