re PR c++/10771 (Unreadable error message for illegal specialization)
PR c++/10771 * parser.c (cp_parser_check_for_invalid_template_id): New function. (cp_parser_simple_type_specifier): Use it. (cp_parser_elaborated_type_specifier): Likewise. (cp_parser_class_head): Likewise. PR c++/10771 * g++.dg/template/error5.C: New test. From-SVN: r74239
Showing
gcc/testsuite/g++.dg/template/error5.C
0 → 100644
Please
register
or
sign in
to comment