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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2026-05-24
     Ever confirmed|0                           |1
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=105320,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=114275

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---

  /* For a class-scope friend class it should have been found by regular
     name lookup.  Otherwise we're looking in the current namespace.  */
  gcc_checking_assert (CP_DECL_CONTEXT (friend_tmpl) == current_namespace);


Confirmed. r15-59-gb5f6a56940e708

Reply via email to