https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122169
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2025-10-05
Ever confirmed|0 |1
Keywords| |rejects-valid, wrong-code
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
template <class T, class T1>
struct s1;
template <class T>
struct s1<T, T> {};
template<typename... Ts>
struct s2{
using T = Ts...[0];
s1<const T, const int> a;
};
s2<int> t;
```