https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105228
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note starting in GCC 13 the ICE changes to: <source>:5:15: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_internal_context_p, at cp/tree.cc:3880