https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79308
Volker Reichelt <reichelt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu.org Depends on| |89744 --- Comment #5 from Volker Reichelt <reichelt at gcc dot gnu.org> --- IMHO the testcase is invalid (e.g. clang rejects it). But by changing the line struct Element<int>::WriteOutput<InnerType> into struct Element<int>::WriteOutput it can be turned into a valid testcase. There are several similar testcases, so I opened a new PR 89744 for this. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89744 [Bug 89744] [8/9 Regression] ICE with specialization of nested template class