PR c++/85093 - too many template args with pack expansion.
authorJason Merrill <jason@redhat.com>
Thu, 29 Mar 2018 19:38:41 +0000 (15:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 29 Mar 2018 19:38:41 +0000 (15:38 -0400)
commit1e2b90c4ac0b08279fdfe65c6fab3c49573f236c
treeed8fe08cf27a9873c80884ca7486e3ebbf1f733e
parent8de4a6749d16ac2663ee5a071906b8d469ad9049
PR c++/85093 - too many template args with pack expansion.

* pt.c (coerce_template_parms): Keep pack expansion args that will
need to be empty.

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