http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32054
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-25 23:40:17 UTC --- Author: paolo Date: Fri May 25 23:40:10 2012 New Revision: 187902 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187902 Log: /cp 2012-05-25 Paolo Carlini <paolo.carl...@oracle.com> PR c++/32054 * parser.c (cp_parser_member_declaration): A storage class is not allowed in a declaration of an anonymous aggregate in a class scope. /testsuite 2012-05-25 Paolo Carlini <paolo.carl...@oracle.com> PR c++/32054 * g++.dg/other/anon-union3.C: New. Added: trunk/gcc/testsuite/g++.dg/other/anon-union3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog