[Bug c++/77561] Unclear diagnostic for invalid declaration of partial specialization as friend

2017-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77561

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-01-13
 Ever confirmed|0   |1

[Bug c++/77561] Unclear diagnostic for invalid declaration of partial specialization as friend

2016-09-11 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77561

--- Comment #1 from Jonathan Wakely  ---
(In reply to Jonathan Wakely from comment #0)
> The user is not trying to declare a specialization, they're trying to define
> a friend. The error should tell them that is allowed,

Oops, should tell them that is **not** allowed.