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

            Bug ID: 101629
           Summary: ICE: in cp_finish_decl, at cp/decl.c:7826
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

auto f(auto... args) {
  if constexpr (auto x = [args]{});
}

int main() {
  f(0, 0.4);
}

https://godbolt.org/z/WWr9hsWqh

Reply via email to