https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119346

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-03-18
            Summary|ICE: in                     |ICE: in
                   |tsubst_pack_expansion, at   |tsubst_pack_expansion, at
                   |cp/pt.cc:13899              |cp/pt.cc:13899 when using
                   |                            |fold expression with a
                   |                            |lambda without a pack
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Removing the outter lambda:
```
template <int=0>
int f(){
                return (..., []<int... x> { x; });
}

int g = f<>();
```

Reply via email to