https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117518
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE: too many template |templated generic (auto
|parameter lists in |argument) lambda as default
|declaration of lambda |template argument is
| |rejected and causing an ICE
Keywords| |ice-on-valid-code,
| |rejects-valid
Ever confirmed|0 |1
Last reconfirmed| |2024-11-10
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
GCC 14 used to reject it (incorrectly) with just:
```
<source>:2:25: error: 'auto' parameter not permitted in this context
2 | template<auto = []<int>(auto) {}>
| ^~~~
```