summaryrefslogtreecommitdiff
path: root/gcc/cp/decl2.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-07 15:44:12 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-07 15:44:12 +0000
commit4ee588cca5de310347ca711cc0c27aa78ee29b81 (patch)
treebbc39d5158cb55376023d1e1dafbfdeb94061479 /gcc/cp/decl2.c
parent962dee4bd440e37c66761ddb9e6857992e03a091 (diff)
downloadgcc-4ee588cca5de310347ca711cc0c27aa78ee29b81.tar.gz
* pt.c (maybe_process_partial_specialization): Complain about
specialization in wrong namespace. * tree.c (decl_namespace_context): New fn. g++.pt/explicit73.C * decl2.c (arg_assoc_type): Handle TEMPLATE_TEMPLATE_PARM. * pt.c (coerce_template_template_parms): Handle nested template template parameters. g++.pt/nttp[12].C git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25072 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r--gcc/cp/decl2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index ba458595f6b..87a25778748 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -4483,6 +4483,7 @@ arg_assoc_type (k, type)
/* Associate the return type. */
return arg_assoc_type (k, TREE_TYPE (type));
case TEMPLATE_TYPE_PARM:
+ case TEMPLATE_TEMPLATE_PARM:
return 0;
case LANG_TYPE:
if (type == unknown_type_node)