decl.c (grokdeclarator): Complain about in-class initialization of aggregates and...
authorMark Mitchell <mark@markmitchell.com>
Sun, 23 Aug 1998 14:40:50 +0000 (14:40 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 23 Aug 1998 14:40:50 +0000 (14:40 +0000)
commitd7ceab7b4b7a2b4f91db42526a6cbdc97393d8e8
tree745bd98cd8da93d0cd072f1007a7f6506fa51d02
parent03d0f4af2d5607dacc56b946b49e024e71dd7fb7
decl.c (grokdeclarator): Complain about in-class initialization of aggregates and/or references.

* decl.c (grokdeclarator): Complain about in-class initialization
of aggregates and/or references.
* pt.c (process_template_parm): Clear IS_AGGR_TYPE for
TEMPLATE_TYPE_PARMs.

From-SVN: r21916
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.other/crash2.C [new file with mode: 0644]