Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Import / while-stmt / test.cpp
bloba0309d43124078a2bd6d438719e3ac43b0e6b63f
1 // RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
3 // CHECK: WhileStmt
4 // CHECK-NEXT: CXXBoolLiteralExpr
5 // CHECK-NEXT: NullStmt
7 // CHECK: WhileStmt
8 // CHECK-NEXT: CXXBoolLiteralExpr
9 // CHECK-NEXT: CompoundStmt
11 // CHECK: WhileStmt
12 // CHECK-NEXT: DeclStmt
13 // CHECK-NEXT: VarDecl
14 // CHECK-NEXT: CXXBoolLiteralExpr
15 // CHECK-NEXT: ImplicitCastExpr
16 // CHECK-NEXT: DeclRefExpr
17 // CHECK-NEXT: NullStmt
19 void expr() {
20 f();