PR c++/14971
* pt.c (check_explicit_specialization): Clarify error message.
From-SVN: r84043
+2004-07-03 Giovanni Bajo <giovannibajo@gcc.gnu.org>
+
+ PR c++/14971
+ * pt.c (check_explicit_specialization): Clarify error message.
+
2004-07-02 Richard Henderson <rth@redhat.com>
* tree.c (cp_unsave_r): Update remap_save_expr call.
template <class T> void f<int>(); */
if (uses_template_parms (declarator))
- error ("partial specialization `%D' of function template",
- declarator);
+ error ("function template partial specialization `%D' "
+ "is not allowed", declarator);
else
error ("template-id `%D' in declaration of primary template",
declarator);