c++: Fix ICE-after-error on partial spec [92068]
Here the template arguments for the partial specialization are valid arguments for the template, but not for a partial specialization, because 'd' can never be deduced to anything other than an empty pack. gcc/cp/ChangeLog 2020-03-14 Jason Merrill <jason@redhat.com> PR c++/92068 * pt.c (process_partial_specialization): Error rather than crash on extra pack expansion.
Showing
gcc/testsuite/g++.dg/cpp0x/variadic178.C
0 → 100644
Please
register
or
sign in
to comment