decl.c (check_tag_decl): Make sure a typedef for an anonymous class-type introduces...
authorGabriel Dos Reis <gdr@codesourcery.com>
Fri, 16 Feb 2001 22:52:29 +0000 (22:52 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Fri, 16 Feb 2001 22:52:29 +0000 (22:52 +0000)
commite8186ecfef962821183f37c7f04c15e4937acfb4
tree245b357fb269d110d467bf44522abd95190d56e5
parent055adbaa1e397cd584fedb5cbe1a71651a7a0232
decl.c (check_tag_decl): Make sure a typedef for an anonymous class-type introduces at least a type-name.

cp/
        * decl.c (check_tag_decl): Make sure a typedef for an anonymous
        class-type introduces at least a type-name.

testsuite/
        * g++.old-deja/g++.other/decl9.C: New test.

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