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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |11.2.0, 12.0

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Another ICE-on-valid testcase, without constexpr:

auto foo() {
  struct S { int d; };
  return S{};
}

inline void bar() {
  decltype(foo()) r = {0};
}

Reply via email to