https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116740
Bug ID: 116740 Summary: [15 Regression] ICE: in set_identifier_type_value_with_scope, at cp/name-lookup.cc:5098 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: patrick at rivosinc dot com Target Milestone: --- Testcase: class { a(struct b; } struct b Godbolt: https://godbolt.org/z/b6ofdWdGa Invalid C++, ICEing since 15.