https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70241
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-03-16 CC| |ppalka at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- Confirmed, this has never worked properly it seems. Also we don't reject an enumerator redeclaration that differs in access: class A { public: enum B : int; private: enum B : int { x }; };