================ @@ -6316,6 +6310,15 @@ TEST(HasAnyTemplateArgumentLoc, BindsToSpecializationWithDoubleArgument) { hasTypeLoc(loc(asString("double"))))))))))); } +TEST(HasAnyTemplateArgumentLoc, BindsToExplicitSpecializationWithIntArgument) { + EXPECT_TRUE( + matches("template<typename T> class A {}; template<> class A<int> {};", + classTemplateSpecializationDecl( + hasName("A"), hasAnyTemplateArgument(templateArgument( + refersToType(asString("int"))))))); +} + +#if 0 ---------------- erichkeane wrote:
Still a WIP, or are these from local testing? https://github.com/llvm/llvm-project/pull/81642 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits