diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 10d9d08..80e69fa 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -10111,7 +10111,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist) } } /* C++ aggregate types. */ - else if (TREE_CODE (id) == TYPE_DECL || TREE_CODE (id) == TEMPLATE_DECL) + else if (TREE_CODE (id) == TYPE_DECL) { if (type) cp_error ("multiple declarations `%T' and `%T'", type, |