[Bug c++/92024] crash in check_local_shadow

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Fri Oct 11 11:42:00 GMT 2019


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

--- Comment #2 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
there is alos a valid test case where an ICE happens:

template<typename>
struct S {
  S () {
    struct c;
      {
        struct c {};
      }
  }
};

S<int> s;


More information about the Gcc-bugs mailing list