https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65157
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Clang accepts the code, EDG rejects it with: "x.cc", line 16: error: nontype "A<T>::B::Create" is not a template friend void B::Create<U>(); ^