PR c++/90227 - error with template parameter packs.
authorJason Merrill <jason@redhat.com>
Wed, 24 Apr 2019 20:37:30 +0000 (16:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 24 Apr 2019 20:37:30 +0000 (16:37 -0400)
commitfd177738f3dc11a93cea8eaf816eee4461704911
tree170b31626ab82e04e23fc853336e33486b3f29b7
parent58990c4d3a94334bcf1cd4f8dd7c2ba2888263e1
PR c++/90227 - error with template parameter packs.

If require_all_args, we aren't waiting for more args to be deduced later.

* pt.c (coerce_template_parms): Do add empty pack when
require_all_args.

From-SVN: r270556
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/var-templ62.C [new file with mode: 0644]