re PR c++/63522 (ICE: unexpected expression 'ElementIndices' of kind template_parm_index)
authorJason Merrill <jason@redhat.com>
Thu, 25 Dec 2014 07:27:54 +0000 (02:27 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Dec 2014 07:27:54 +0000 (02:27 -0500)
commit17e87c1ca5476117c64c69a9777226af70dd4394
tree5990fc414a2deda0b142c473f44ce96aada371f1
parent9a5757a0c4a71d551642dd81f7c005c61fc9d5e2
re PR c++/63522 (ICE: unexpected expression 'ElementIndices' of kind template_parm_index)

PR c++/63522
* parser.c (cp_parser_type_parameter): Call
check_for_bare_parameter_packs on default argument.

From-SVN: r219066
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp0x/variadic164.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/vt-34052.C