Debian Codegraph @

clang/test/Sema/block-return-1.c

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