https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99546
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #11)
> (In reply to Jonathan Wakely from comment #5)
> > (In reply to 康桓瑋 from comment #4)
> > > same form, but this will trigger ICE:
> >
> > That's a completely different bug. I've opened PR 106976
>
> Yes and no.
> Valid code like this:
>
> ```
> struct S{
> constexpr static auto s = requires { []{}; };
> };
>
> ```
>
> Gets same ICE too.
But I think it is the same issue overall. we are not parsing lambdas correctly
at all.