aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/friend.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/friend.c')
-rw-r--r--gcc/cp/friend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index 07cda8f..a2d0c4d 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -296,7 +296,7 @@ make_friend_class (type, friend_type)
template <class T> friend typename S<T>::X;
which isn't any of these. */
- cp_error ("typename type `%T' declare `friend'",
+ cp_error ("typename type `%T' declared `friend'",
friend_type);
return;
}