clang/unittests/Analysis/CFGTest.cpp: Appease msc targets with -fno-delayed-template-parsing.
llvm-svn: 274879
diff --git a/clang/unittests/Analysis/CFGTest.cpp b/clang/unittests/Analysis/CFGTest.cpp
index 715fdcb..a8d397e 100644
--- a/clang/unittests/Analysis/CFGTest.cpp
+++ b/clang/unittests/Analysis/CFGTest.cpp
@@ -48,7 +48,7 @@
Finder.addMatcher(ast_matchers::functionDecl().bind("func"), &Callback);
std::unique_ptr<tooling::FrontendActionFactory> Factory(
tooling::newFrontendActionFactory(&Finder));
- std::vector<std::string> Args = {"-std=c++11"};
+ std::vector<std::string> Args = {"-std=c++11", "-fno-delayed-template-parsing"};
ASSERT_TRUE(tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args));
EXPECT_TRUE(Callback.SawFunctionBody);
}