https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99538
Bug ID: 99538 Summary: ICE when lambda return requires clause Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- The following code will trigger the ICE of gcc-10 and trunk: int main(){ [] { return requires { []{}; }; }; } (godbolt: https://godbolt.org/z/WGjx9h)