re PR c++/39219 (attribute doesn't work with enums properly)
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 19 Feb 2009 01:58:15 +0000 (01:58 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 19 Feb 2009 01:58:15 +0000 (17:58 -0800)
commit57c2231b2320835b96c6aeff3f2c76d165d4d47b
treef0aab9e1a84b567047db64e787d8293069ecdf3f
parent525dbc9afb9e6222511256af162d59370a5c6053
re PR c++/39219 (attribute doesn't work with enums properly)

gcc/cp

2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/39219
* parser.c (cp_parser_enum_specifier): Apply all attributes.

gcc/testsuite/

2009-02-18  H.J. Lu  <hongjiu.lu@intel.com>

PR c++/39219
* g++.dg/parse/attr3.C: New.

From-SVN: r144284
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/attr3.C [new file with mode: 0644]