[Bug c++/48920] typename specifier should not ignore non-type names

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 8 08:48:50 GMT 2021


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


More information about the Gcc-bugs mailing list