OSDN Git Service

PR c++/20212
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Apr 2005 15:55:00 +0000 (15:55 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Apr 2005 15:55:00 +0000 (15:55 +0000)
commit577cba38845aaff506ff61a0f6e79a668af93c79
treefcd2fbe70a5a93fad69ed7c5e1225fc6d4b544f8
parentb25b3bcc42f9dd9d13d86f1a90e2633bdf57a208
PR c++/20212
* pt.c (regenerate_decl_from_template): Copy attributes for
parameters from the pattern to the instantiation.

PR c++/20212
* g++.dg/warn/Wunused-11.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97726 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wunused-11.C [new file with mode: 0644]