Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
      2 
      3 int j;
      4 void foo() {
      5   ^ (void) { if (j) return 1; }(); // expected-error {{control may reach end of non-void block}}
      6 }
      7