re PR c++/9298 ([new parser] ICE with function-pointer-type template args)
PR c++/9298 * parser.c (cp_parser_consume_semicolon_at_end_of_statement): New function. (cp_parser_expression_statement): Use it. (cp_parser_explicit_instantiation): Likewise. * pt.c (do_decl_instantiation): Improve error handling logic. PR c++/9298 * g++.dg/parse/template1.C: New test. From-SVN: r61618
Showing
gcc/testsuite/g++.dg/parse/template1.C
0 → 100644
Please
register
or
sign in
to comment