================
@@ -597,9 +597,10 @@ namespace cwg336 { // cwg336: yes
         void mf2();
       };
     };
-    template<> template<class X> class A<int>::B {};
+    template<> template<class X> class A<int>::B {}; // #defined-here-cwg336
     template<> template<> template<class T> void A<int>::B<double>::mf1(T t) {}
     // expected-error@-1 {{out-of-line definition of 'mf1' does not match any 
declaration in 'cwg336::Pre::A<int>::B<double>'}}
+    // expected-note@#defined-here-cwg336 {{defined here}}
----------------
Endilll wrote:

```suggestion
    //   expected-note@#cwg336-B {{defined here}}
```

https://github.com/llvm/llvm-project/pull/110638
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to