================ @@ -156,7 +156,13 @@ namespace UsesThis { auto h<int>() -> decltype(this); // expected-error {{'this' cannot be used in a static member function declaration}} }; - template struct A<int>; // expected-note 3{{in instantiation of}} + template struct A<int>; // expected-note {{in instantiation of}} + template<> template<> void A<int>::f<int>(); + template<> template<> void A<int>::g<int>(); + void test1() { + A<int>().f<int>(); // expected-note {{in instantiation of}} + A<int>().g<int>(); // expected-note {{in instantiation of}} + } ---------------- zyn0217 wrote:
There weren't test failures here, right? (Changes here are hopefully not hiding the failures) https://github.com/llvm/llvm-project/pull/111267 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits