Index: unittests/ASTMatchers/ASTMatchersNodeTest.cpp =================================================================== --- unittests/ASTMatchers/ASTMatchersNodeTest.cpp +++ unittests/ASTMatchers/ASTMatchersNodeTest.cpp @@ -178,13 +178,14 @@ } TEST(Matcher, UnresolvedLookupExpr) { - EXPECT_TRUE(matches("template" - "T foo() { T a; return a; }" - "template" - "void bar() {" - " foo();" - "}", - unresolvedLookupExpr())); + EXPECT_TRUE(matchesConditionally("template" + "T foo() { T a; return a; }" + "template" + "void bar() {" + " foo();" + "}", + unresolvedLookupExpr(), true, + "-fno-delayed-template-parsing")); } TEST(Matcher, Call) {