PR c++/54653
commit747f0d2a917dbbd49282158a6e8b331a1364b1d1
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Dec 2012 14:37:04 +0000 (6 14:37 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Dec 2012 14:37:04 +0000 (6 14:37 +0000)
tree2f21964d095b17cf337c7e6fbd439cf54e912a00
parent10653583054e14543384a2ea432dac52ee40c337
PR c++/54653
* parser.c (cp_parser_class_head): A partial specialization scope
counts as a template.
* pt.c (tsubst_template_parms): Handle template template parm parms.
(tsubst_decl) [TEMPLATE_DECL]: Handle getting a template template
argument back.

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