decl.c (grokdeclarator): Update the name of the TEMPLATE_DECL...
authorMark Mitchell <mark@markmitchell.com>
Wed, 9 Dec 1998 11:46:02 +0000 (11:46 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 9 Dec 1998 11:46:02 +0000 (11:46 +0000)
commit33964bf4af75b5e6de8ef1b51979a6d96032b54b
treeb28a92b457928ac38f806da8e59d485852428a53
parenta0078b37091b7e4d7447f7e9cb482bbc55e8121b
decl.c (grokdeclarator): Update the name of the TEMPLATE_DECL...

* decl.c (grokdeclarator): Update the name of the TEMPLATE_DECL, as
well as the TYPE_DECL, when a typedef name is assigned to a
previously anonymous type.

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