https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70778
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sun Jul 24 03:04:52 2016 New Revision: 238692 URL: https://gcc.gnu.org/viewcvs?rev=238692&root=gcc&view=rev Log: PR c++/70778 - member template template parameter * pt.c (tsubst): Also substitute into the template of a BOUND_TEMPLATE_TEMPLATE_PARM. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/template/ttp29.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/pt.c