re PR c++/9127 (Confusing diagnostic on specialization not introduced by "template<>")
PR c++/9127 * cp-tree.h (at_namespace_scope_p): New function. * parser.c (cp_parser_class_head): Handle invalid explicit specializations. * search.c (at_namespace_scope_p): New function. PR c++/9127 * g++.dg/template/error6.C: New test. From-SVN: r74274
Showing
gcc/testsuite/g++.dg/template/error6.C
0 → 100644
Please
register
or
sign in
to comment