[ASTMacther] A follow-up on unresolvedLookupExpr test fixing.

llvm-svn: 269957
This commit is contained in:
Haojian Wu 2016-05-18 16:48:44 +00:00
parent 5e6b35f4d1
commit 40b1277135
1 changed files with 4 additions and 1 deletions

View File

@ -178,13 +178,16 @@ TEST(EnumConstant, Matches) {
}
TEST(Matcher, UnresolvedLookupExpr) {
// FIXME: The test is known to be broken on Windows with delayed template
// parsing.
EXPECT_TRUE(matchesConditionally("template<typename T>"
"T foo() { T a; return a; }"
"template<typename T>"
"void bar() {"
" foo<T>();"
"}",
unresolvedLookupExpr(), true,
unresolvedLookupExpr(),
/*ExpectMatch=*/true,
"-fno-delayed-template-parsing"));
}