https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97034
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- // PR c++/97034 namespace N { template <typename, typename> struct S { template <typename T, typename U> S(T, U); }; } // namespace N template <int> struct E { template <typename T> struct G { T t; }; void fn() { G{N::S<char, int>{'a', 1}}; } };