https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118271

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2025-01-02
             Blocks|                            |65608

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
A neat little workaround is to supply the fully qualified name for A.  That is
for the reduced testcase is:
    friend B::operator ::A *() const;


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608
[Bug 65608] [meta-bug] friend issues

Reply via email to