PR c++/49808
commit58b1749feecda6f70480b5bcb2fd48d03cae5e56
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2011 07:10:21 +0000 (29 07:10 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2011 07:10:21 +0000 (29 07:10 +0000)
tree0c7f40afebdcb16dd3bc1da94958d723f3244a58
parent211a6912f49ed1bf8618e1779c138b0d23dd5d94
PR c++/49808
* pt.c (tsubst) [TEMPLATE_PARM_INDEX]: Call convert_from_reference.
(convert_nontype_argument, tsubst_template_arg): Handle its output.

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