summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Analysis/CFGTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Analysis/CFGTest.cpp')
-rw-r--r--clang/unittests/Analysis/CFGTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Analysis/CFGTest.cpp b/clang/unittests/Analysis/CFGTest.cpp
index 715fdcb8060..a8d397e9a53 100644
--- a/clang/unittests/Analysis/CFGTest.cpp
+++ b/clang/unittests/Analysis/CFGTest.cpp
@@ -48,7 +48,7 @@ TEST(CFG, RangeBasedForOverDependentType) {
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);
}
OpenPOWER on IntegriCloud