xref: /aosp_15_r20/external/clang/test/SemaCXX/missing-header.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
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