block-return-3.c 152 Bytes Raw Blame History Permalink 1 2 3 4 5 // RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks void foo() { ^ int (void) { }(); // expected-error {{non-void block does not return a value}} }