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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Reduced testcase:
```
template <int>
void spam(decltype([] {
    dynamic_cast<int *>(nullptr);
}));

int main()
{
  spam<1>(1);
}
```

Reply via email to