Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / block-return-3.c
blobfd629088871357b4cc743d926f8cdbd603a48398
1 // RUN: %clang_cc1 -fsyntax-only %s -verify -fblocks
3 void foo(void) {
4 ^ int (void) { }(); // expected-error {{non-void block does not return a value}}