llvm-project/clang/test/SemaCXX/missing-header.cpp
Chad Rosier de70e0ef45 [ms-inline asm] As part of a larger refactoring, rename AsmStmt to GCCAsmStmt.
No functional change intended.

llvm-svn: 162632
2012-08-25 00:11:56 +00:00

10 lines
300 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
#include "not exist" // expected-error{{'not exist' file not found}}
class AnalysisDeclContext {};
static ControlFlowKind CheckFallThrough(AnalysisDeclContext &AC) {
if (const GCCAsmStmt *AS = dyn_cast<GCCAsmStmt>(S)) {}
bool NoReturnEdge = false;
}