https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122169
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|is_same_v<const T,const |const on a type pack index
|int> with T=int is false; |is lost
|pack index |
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Further reduced:
```
template <class T, class T1>
struct s1;
template <class T>
struct s1<T, T> {};
template<typename... Ts>
struct s2{
s1<const Ts...[0], const int> a;
};
s2<int> t;
```