Skip to content

Commit 27bb7d1

Browse files
Call static member function in hasDependentName test
1 parent 3ad4bd0 commit 27bb7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ TEST_P(ASTMatchersTest, HasDependentName_DependentScopeDeclRefExpr) {
22492249
dependentScopeDeclRefExpr(hasDependentName("Foo"))));
22502250

22512251
EXPECT_TRUE(matches("template <typename T> struct S { static T foo(); };"
2252-
"template <typename T> void x() { S<T>::foo; }",
2252+
"template <typename T> void x() { S<T>::foo(); }",
22532253
dependentScopeDeclRefExpr(hasDependentName("foo"))));
22542254
}
22552255

0 commit comments

Comments
 (0)