OSDN Git Service

* decl.c (grokdeclarator): Complain about in-class initialization
[pf3gnuchains/gcc-fork.git] / gcc / cp / pt.c
index f156fe1..79a00fa 100644 (file)
@@ -1590,6 +1590,7 @@ process_template_parm (list, next)
       else
        {
          t = make_lang_type (TEMPLATE_TYPE_PARM);
+         IS_AGGR_TYPE (t) = 0;
          /* parm is either IDENTIFIER_NODE or NULL_TREE */
          decl = build_decl (TYPE_DECL, parm, t);
        }