forked from OSchip/llvm-project
[ASTMacther] A follow-up on unresolvedLookupExpr test fixing.
llvm-svn: 269957
This commit is contained in:
parent
5e6b35f4d1
commit
40b1277135
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue