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

--- Comment #5 from Aaron Ballman <aaron at aaronballman dot com> ---
(In reply to Marek Polacek from comment #4)
> But elaborated-enum-specifier is an elaborated-type-specifier, so
> [dcl.type.elab]#6 should still apply, right?

That is my understanding. Otherwise p6 doesn't make much sense when it says
"The class-key or enum keyword present in the elaborated-type-specifier shall
agree" because that production has no enum keyword directly within it.

Reply via email to