https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92024
--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- there is alos a valid test case where an ICE happens: template<typename> struct S { S () { struct c; { struct c {}; } } }; S<int> s;