Index: unittests/AST/ASTImporterTest.cpp =================================================================== --- unittests/AST/ASTImporterTest.cpp +++ unittests/AST/ASTImporterTest.cpp @@ -33,10 +33,10 @@ Args.insert(Args.end(), { "-x", "c", "-std=c89" }); break; case Lang_CXX: - Args.push_back("-std=c++98"); + Args.insert(Args.end(), {"-std=c++98", "-fdelayed-template-parsing"}); break; case Lang_CXX11: - Args.push_back("-std=c++11"); + Args.insert(Args.end(), {"-std=c++11", "-fdelayed-template-parsing"}); break; case Lang_OpenCL: case Lang_OBJCXX: