https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48920
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, MSVC rejects this for a different reason from clang (and a different reason from what the report is requesting): <source>(7): error C2761: 'int A::B': redeclaration of member is not allowed