https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 56820, which changed state.
Bug 56820 Summary: elaborated-type-specifier friend incorrectly looked up beyond innermost enclosing namespace https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56820 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE