[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2014-02-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30301 --- Comment #4 from Jason Merrill --- Author: jason Date: Wed Feb 26 21:44:48 2014 New Revision: 208185 URL: http://gcc.gnu.org/viewcvs?rev=208185&root=gcc&view=rev Log: PR c++/30301 * g++.dg/parse/unnamed2.C: New. Added: trunk/gcc/t

[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2014-02-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30301 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2014-02-26 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30301 Volker Reichelt changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2

[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2006-12-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-27 02:49 --- Unions have the same issue: template struct A { union { static int i; }; }; -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---