* pt.c (tsubst_decl) [VAR_DECL]: Call coerce_innermost_template_parms.
commit3bf0bcd415a949c0f2bcba889e21a75a018846c3
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 2015 18:08:48 +0000 (18 18:08 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 2015 18:08:48 +0000 (18 18:08 +0000)
treef8cc39069865bbd56cc5a7ab86315512180da9fb
parentdd310df030bd0da23dd787d0d23c825d121d1b9d
* pt.c (tsubst_decl) [VAR_DECL]: Call coerce_innermost_template_parms.
(determine_specialization): Call coerce_template_parms.

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