================
@@ -373,6 +373,7 @@ template <class T> void foo() {} // 
expected-note{{candidate ignored: not a memb
 }
 using ns::foo;
 template <class T> struct A {
+  // expected-error@+1{{friend function specialization cannot be defined}}
----------------
erichkeane wrote:

These already error, and doing a double-error here is not the right way to go.  
In this case, it seems to make sense that the 2nd error doesn't happen, same 
with the next one.

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

Reply via email to