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

            Bug ID: 99743
           Summary: ICE Segmentation fault when use lambda init-capture in
                    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: ---

static_assert(requires { [x = 0]{}; });

https://godbolt.org/z/n9KE4z7P6

I don't know whether this code is well-form or not.
Maybe related/duplicate to PR 99538, PR 99465, PR 99546 since they are the same
form.

Reply via email to