https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122132
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2025-10-02
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also accepts:
```
struct outer
{
template <typename T = long>
struct inner;
};
template <typename T = long>
struct outer::inner{};
```
But that is a regression. Let me file that seperately but related issue.
Otherwise confirmed.