re PR c++/28235 (ICE with static const member as default parameter in template)
authorMark Mitchell <mark@codesourcery.com>
Wed, 19 Jul 2006 00:22:43 +0000 (00:22 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 19 Jul 2006 00:22:43 +0000 (00:22 +0000)
commitf604fc3b2ea1d6738af942668d16ddd5cd2663a8
tree4c3e45cb6e2a2a0cf8fae4bbd9efde2d779c5dae
parent437a9eba689bd253b51a8f4ac46b01b063835084
re PR c++/28235 (ICE with static const member as default parameter in template)

PR c++/28235
* pt.c (tsubst_decl): Handling substitutions into a static data
member from within the scope of the tempalte itself.
PR c++/28235
* g++.dg/template/static27.C: New test.

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