search.c
73.6 KB
-
re PR c++/9127 (Confusing diagnostic on specialization not introduced by "template<>") · afb0918a
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
Mark Mitchell committed