error3.C
113 Bytes
-
re PR c++/12762 (Much worse error message when using a typedef with a template arg) · ec75414f
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
Mark Mitchell committed