re PR c++/34052 (Trouble with variadic templates as template-template parameter)
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 15 Jan 2008 16:06:48 +0000 (16:06 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Tue, 15 Jan 2008 16:06:48 +0000 (16:06 +0000)
commit85d852346c60093ad0f749aefecf6c8c46f9a2b5
treedf85c718a14e09008a2a7eb84f1b28af63b29867
parenta4797b349c0596ce1f89e00c50269964adfaba78
re PR c++/34052 (Trouble with variadic templates as template-template parameter)

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/34052
       * pt.c (check_default_tmpl_args): Check for parameter packs that
       aren't at the end of a primary template.
       (push_template_decl_real): Remove check for parameter packs that
       aren't at the end of a primary template; that now happens in
       check_default_tmpl_args.
       * semantics.c (finish_template_template_parm): Use
       check_default_tmpl_args to check for errors in the template
       parameter list.

2008-01-15  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/34052
       * g++.dg/cpp0x/vt-34052.C: New.
       * g++.dg/template/ttp26.C: New.

From-SVN: r131543
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/vt-34052.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/ttp26.C [new file with mode: 0644]