re PR c++/12762 (Much worse error message when using a typedef with a template arg)
PR c++/12762 * parser.c (cp_parser_enclosed_template_argument_list): New function. (cp_parser_template_id): Use it. (cp_parser_simple_type_specifier): Recognize invalid template syntax. PR c++/12762 * g++.dg/template/error3.C: New test. From-SVN: r73610
Showing
gcc/testsuite/g++.dg/template/error3.C
0 → 100644
Please
register
or
sign in
to comment