re PR c++/2843 (parser: __attribute__ on parameter declarations)
authorMark Mitchell <mark@codesourcery.com>
Thu, 2 Jan 2003 20:04:56 +0000 (20:04 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 2 Jan 2003 20:04:56 +0000 (20:04 +0000)
commit4971227d2501045a28d858cb1a807908c18f3a19
tree55015d7cc2c4fc651c6535b32fa73144f1ee2f1b
parent5e8a153a549944ab3b061a0cc485540cff9f5d3d
re PR c++/2843 (parser: __attribute__ on parameter declarations)

PR c++/2843
* parser.c (cp_parser_parameter_declaration): Allow attributes to
appear after the declarator.

PR c++/2843
* g++.dg/ext/attrib7.C: New test.

From-SVN: r60801
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib7.C [new file with mode: 0644]