diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 8b89ca9..326be33 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -5564,7 +5564,7 @@ push_template_decl_real (tree decl, bool is_friend) (TI_ARGS (tinfo), TI_ARGS (get_template_info (DECL_TEMPLATE_RESULT (tmpl))))) { - error ("template arguments to %qD do not match original" + error ("template arguments to %qD do not match original " "template %qD", decl, DECL_TEMPLATE_RESULT (tmpl)); if (!uses_template_parms (TI_ARGS (tinfo))) inform (input_location, "use %<template<>%> for" @@ -12195,7 +12195,7 @@ tsubst_function_decl (tree t, tree args, tsubst_flags_t complain, We also deal with the peculiar case: template <class T> struct S { - template <class U> friend void f(); + template <class U> friend void f(); }; template <class U> void f() {} template S<int>; |