Fix handling of explicit function template arguments with TTPs.
commit57a6add274e98def9fe937eea126c56a71e65c28
authorJason Merrill <jason@redhat.com>
Wed, 21 Dec 2016 19:38:44 +0000 (21 14:38 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 21 Dec 2016 19:38:44 +0000 (21 14:38 -0500)
tree5853c8fc2ab669e19226a16b1a0d5c25d65ee0c3
parenta9410b4fe946b3f82ff2254b46ef53573897d68e
Fix handling of explicit function template arguments with TTPs.

gcc/cp/
* pt.c (coerce_template_parms): Consider variadic_args_p before
complaining about too many template arguments.
libstdc++-v3/
* testsuite/util/testsuite_tr1.h (test_property): Don't define both
variadic and non-variadic overloads.

From-SVN: r243869
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/variadic-ttp3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/variadic-ttp3a.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/util/testsuite_tr1.h