re PR c++/24275 (Previously accepted code fails with 4.0.2)
authorMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 10 Oct 2005 14:42:14 +0000 (14:42 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 10 Oct 2005 14:42:14 +0000 (14:42 +0000)
commit27a725e2935ad18edd9a92a2555f543d72af391d
tree71a75c334ad104b81d807cee2f2e9f8da74252dd
parentf0d60e22101308e3ed63e42ec33257742cc07380
re PR c++/24275 (Previously accepted code fails with 4.0.2)

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.

From-SVN: r105173
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/static19.C [new file with mode: 0644]