Clang Project

clang_source_code/test/Sema/Inputs/warn-unreachable.h
1// Test that this unreachable code warning is
2// not reported because it is in a header.
3
4void foo_unreachable_header() {
5  return;
6  foo_unreachable_header(); // no-warning
7}