OSDN Git Service

PR c++/23667
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2005 16:12:15 +0000 (16:12 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2005 16:12:15 +0000 (16:12 +0000)
commit03798958e72f0cbe633321977d6147482ea3d558
tree0958fea22cc6869d7b95dd02fab077a770315675
parentd6534f57d0e88556ac5808a3acdaf1bcdfe967fc
PR c++/23667
* pt.c (tsubst_decl): Clear DECL_TEMPLATE_INSTANTIATED when
copying a VAR_DECL.

PR c++/23667
* g++.dg/template/static15.C: New test.

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