================
@@ -370,8 +370,6 @@ namespace cwg531 { // cwg531: partial
     //   expected-note@#cwg531-A-char {{'template<>' header not required for 
explicitly-specialized class 'cwg531::bad::A<char>' declared here}}
     template<> struct A<char>::B {};
     // expected-error@-1 {{extraneous 'template<>' in declaration of struct 
'B'}}
-    // expected-error@-2 {{specialization of member 'cwg531::bad::A<char>::B' 
does not specialize an instantiated member}}
-    //  expected-note@#cwg531-B {{attempt to specialize declaration here}}
----------------
Endilll wrote:

> In the standard's example A<char> isn't explicitly specialized

Thank you, this is what I've missed. Removing those diagnostics makes sense to 
me now.

https://github.com/llvm/llvm-project/pull/227358
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to