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 b225ac7..fee00a8 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -205,7 +205,7 @@ make_friend_class (type, friend_type)
}
if (CLASS_TYPE_P (friend_type)
- && CLASSTYPE_PARTIAL_SPECIALIZATION (friend_type)
+ && CLASSTYPE_TEMPLATE_SPECIALIZATION (friend_type)
&& uses_template_parms (friend_type))
{
/* [temp.friend]