re PR c++/60374 ([c++11] ICE with invalid template specialization)
authorJason Merrill <jason@redhat.com>
Tue, 1 Apr 2014 21:25:20 +0000 (17:25 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 Apr 2014 21:25:20 +0000 (17:25 -0400)
commitcd8a9d6d1c66d77e3d6a82468b5ea4794de3ffca
tree44ff9965bfd1023db2b3771c738c5eb31380faf9
parent0df9da030c424d798044b4081865a68c2b08a5e9
re PR c++/60374 ([c++11] ICE with invalid template specialization)

PR c++/60374
* pt.c (coerce_template_parms): Check that the pack expansion
pattern works with the first matching parameter.

From-SVN: r208999
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/variadic154.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/variadic155.C [new file with mode: 0644]