PR c++/78701
commit2260254428715fe4b137b2e1b08ab44d93b14b09
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Dec 2016 16:45:33 +0000 (14 16:45 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Dec 2016 16:45:33 +0000 (14 16:45 +0000)
tree33690cc2fdd2e6f27ab0b5200494c040f9c94c94
parent0cb2dd0ed9796edac58c291e7c6303cd30a6ec00
PR c++/78701
* pt.c (type_unification_real): Check tsubst arg doesn't have
remaining template parms before converting it.

PR c++/78701
* g++.dg/cpp0x/pr78701.C: New.

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