[Bug c++/69410] friend declarations in local classes

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Aug 21 22:09:00 GMT 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |7.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed:
t99.cc: In function ‘void f()’:
t99.cc:4:25: error: friend declaration ‘void a()’ in local class without prior
declaration
         friend void ::a();
                         ^


More information about the Gcc-bugs mailing list