http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52212
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler at | |googlemail dot com --- Comment #2 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-02-12 13:26:04 UTC --- My reading of 11.3 p9, "A name nominated by a friend declaration shall be accessible in the scope of the class containing the friend declaration." tends to be that the example should ill-formed (D has no access to the name D::E::F).