[Bug c++/103084] Accepts invalid using enum declaration with an invalid elaborated-type-specifier

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 4 18:33:23 GMT 2021


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?


More information about the Gcc-bugs mailing list