https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97034
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- The same ICE can be triggered with template <int> struct E { template <typename T> struct G { T t; G(T) { } }; void fn() { G{1}; } }; which started with r269093.