------- Comment #1 from redi at gcc dot gnu dot org  2010-01-07 21:05 -------
I think the code is valid

3.4.4 [basic.lookup.elab]/1
An elaborated-type-specifier (7.1.6.3) may be used to refer to a
previously declared class-name or enum-name even though the name has
been hidden by a non-type declaration (3.3.10).


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-07 21:05:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42490

Reply via email to