https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126797
Bug ID: 126797
Summary: explicit instantiation of function variadic template
with const qualified explicit template type argument
rejected
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: waffl3x at gcc dot gnu.org
Target Milestone: ---
```
template<typename... Ts>
void f0 (Ts...) {}
template void f0<int const>(int const);
template<typename... Ts>
void f1 (Ts...) {}
template void f1<int const>(int);
```
https://godbolt.org/z/d8zK9zv1E
Seems to not be a regression, tested with the first version on CE that
supports c++11.