https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95036
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Started with r9-6853-g17838af989014f5e90e3a7ab4e519d495c03e726 namespace a { template <int b> struct c { static constexpr int d = b; }; template <bool, typename e = void> using f = e; template <typename e, e...> struct g; template <typename> struct array; } // namespace a template <template <class> class h> struct i { template <template <class, auto...> class, class = void> struct n; template <class j> struct n<h, j> : a::c<true> {}; template <template <class> class k, class = a::f<n<k>::d>> void function(); }; template <template <class> class... l> struct derived : i<l>... { using i<l>::function...; }; int main() { derived<a::array, a::g> m; m.function<a::array>(); }