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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-04-26
           Keywords|ice-on-invalid-code         |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Reduced:

int n = [](auto... args) {
  return ([&](auto r) {
    if constexpr (sizeof(r))
      return args;
    else
      return 0;
  }(0) + ...);
}(0);

Reply via email to