Index: test/Import/for-stmt/Inputs/F.cpp =================================================================== --- test/Import/for-stmt/Inputs/F.cpp +++ test/Import/for-stmt/Inputs/F.cpp @@ -3,6 +3,8 @@ ; for (int i = 0;;) continue; + for (; bool j = false;) + continue; for (int i = 0; i != 0; ++i) { i++; } Index: test/Import/for-stmt/test.cpp =================================================================== --- test/Import/for-stmt/test.cpp +++ test/Import/for-stmt/test.cpp @@ -17,6 +17,18 @@ // CHECK-NEXT: ContinueStmt // CHECK: ForStmt +// CHECK-NEXT: <> +// CHECK-NEXT: DeclStmt +// CHECK-NEXT: VarDecl +// CHECK-NEXT: CXXBoolLiteralExpr +// CHECK-NEXT: ImplicitCastExpr +// CHECK-NEXT: DeclRefExpr +// CHECK-SAME: 'j' +// CHECK-SAME: 'bool' +// CHECK-NEXT: <> +// CHECK-NEXT: ContinueStmt + +// CHECK: ForStmt // CHECK-NEXT: DeclStmt // CHECK-NEXT: VarDecl // CHECK-NEXT: IntegerLiteral