semantics.c (begin_class_definition): Check we're not inside a template parm list.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 18 Jan 2001 09:35:59 +0000 (09:35 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 18 Jan 2001 09:35:59 +0000 (09:35 +0000)
commit522d6614c50ecd386854d7e46010d1b74672f42d
treef6125caaf95f3c7b4fbbf88a49dc9578450fc081
parent7f805b8ffc444141ae01003de9bab522cddcae0a
semantics.c (begin_class_definition): Check we're not inside a template parm list.

cp:
* semantics.c (begin_class_definition): Check we're not inside a
template parm list.
testsuite:
* g++.old-deja/g++.pt/crash65.C: New test.

From-SVN: r39113
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/crash65.C [new file with mode: 0644]