http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24629

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |DUPLICATE

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-14 
23:07:25 UTC ---
C++0x has changed the rules slightly and allows:
template<class T>
class Foo {
    friend T;
};

But GCC does not implement this new rule yet. See 47721.

*** This bug has been marked as a duplicate of bug 47721 ***

Reply via email to