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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |jason at gcc dot gnu.org

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
And we ICE when the local class has a dependent base:

template<class T>
void f() {
  [](auto parm) {
    struct type : decltype(parm) { };
  };
}

template void f<int>();

Reply via email to