https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103084 --- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- But elaborated-enum-specifier is an elaborated-type-specifier, so [dcl.type.elab]#6 should still apply, right?