------- Comment #1 from pinskia at gcc dot gnu dot org  2006-12-27 02:49 -------
Unions have the same issue:
template<int> struct A
{
  union { static int i; };
};


-- 

pinskia 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         |2006-12-27 02:49:21
               date|                            |
            Summary|Invalid static member of    |Invalid static member of
                   |anonymous class diagnosed   |anonymous class or union
                   |too late                    |diagnosed too late


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

Reply via email to