re PR c++/14912 (Do not print default template arguments in error messages)
PR c++/14912
* error.c (count_non_default_template_args): New fn.
(dump_template_parms): Call it.
(dump_template_argument_list): Call it. Add parms parm.
(dump_template_argument): Adjust call to dump_template_argument_list.
(dump_type, dump_decl): Likewise.
(dump_template_bindings): Refactor logic.
From-SVN: r145566
Showing
gcc/testsuite/g++.dg/template/error39.C
0 → 100644
Please
register
or
sign in
to comment