PR c++/24275
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2005 14:42:14 +0000 (14:42 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Oct 2005 14:42:14 +0000 (14:42 +0000)
commit2590c9372217fdb70abbca661bbca704e1d144cf
tree71a75c334ad104b81d807cee2f2e9f8da74252dd
parenta761e730bb6fa25293d16e45213a3621bb24977c
PR c++/24275
* pt.c (instantiate_decl): Instantiate the initializer of
a static data member in the namespace containing the class
containing the static data member.
PR c++/24275
* g++.dg/template/static19.C: New test.

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