xref: /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/missing-header.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
3 #include "not exist" // expected-error{{'not exist' file not found}}
4 
5 class AnalysisDeclContext {};
CheckFallThrough(AnalysisDeclContext & AC)6 static ControlFlowKind CheckFallThrough(AnalysisDeclContext &AC) {
7   if (const GCCAsmStmt *AS = dyn_cast<GCCAsmStmt>(S)) {}
8   bool NoReturnEdge = false;
9 }
10