PR c++/29518
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Nov 2006 17:48:28 +0000 (17:48 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Nov 2006 17:48:28 +0000 (17:48 +0000)
commit61ebd7a0e5e194a81e29b70140f66798b4e60e1e
tree21a091cc74562e80f608497635a19c1e38b0e4fd
parentc4328bcc518514953f90923a887b4efe529dca50
PR c++/29518
* pt.c (coerce_template_parms): Do not skip_evaluation while
substituting template arguments.
PR c++/29518
* g++.dg/template/static28.C: New test.

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