https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65061
Bug ID: 65061 Summary: [4.8/4.9/5 Regression] Issue with using declaration and member class template Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: paolo.carlini at oracle dot com Noticed while working on c++/60894. Between 4.6 and 4.7 we started rejecting the below: struct B { template<typename T> struct S {}; }; struct D : B { using B::S; template<typename T> void doIt(/*struct*/ S<T>&); };