diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 6a73a2e..60b9498 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -4794,7 +4794,7 @@ push_template_decl_real (tree decl, bool is_friend) if (DECL_CLASS_SCOPE_P (decl)) member_template_p = true; if (TREE_CODE (decl) == TYPE_DECL - && ANON_AGGRNAME_P (DECL_NAME (decl))) + && anon_aggrname_p (DECL_NAME (decl))) { error ("template class without a name"); return error_mark_node; |