re PR c++/8591 (g++ crashes while instantiating templates)
PR c++/8591 * parser.c (cp_parser_elaborated_type_specifier): Convert TEMPLATE_DECL to TYPE_DECL only when processing template friends. (cp_parser_maybe_treat_template_as_class): Remove redundant tests. * g++.dg/parse/friend2.C: New test. From-SVN: r62076
Showing
gcc/testsuite/g++.dg/parse/friend2.C
0 → 100644
Please
register
or
sign in
to comment