// PR c++/97034 // { dg-do compile { target c++20 } } template struct E { template struct G { T t; }; void fn() { G{1}; } }; void g () { E e; e.fn (); }