https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116298
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Also happens with functions and not just member functions: ``` template<class E> E f() ; // #1 template<class E, int> E f() ; // #2 template<class E> E f(int) ; // #3 auto x = &f<char>; ```