https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105623
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- // PR c++/105623 auto g(auto) {} template <int...> struct ct_string { static auto name() {} }; struct S : ct_string<> { auto f() { g(name); } };