llvm-for-llvmta/tools/clang/test/Sema/Inputs/warn-unreachable.h

7 lines
175 B
C

// Test that this unreachable code warning is
// not reported because it is in a header.
void foo_unreachable_header() {
return;
foo_unreachable_header(); // no-warning
}