parse.y (check_class_key): Allow KEY to be union/enum/struct/class node with attributes.
authorJakub Jelinek <jakub@redhat.com>
Tue, 23 Apr 2002 20:59:05 +0000 (22:59 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 23 Apr 2002 20:59:05 +0000 (22:59 +0200)
commit29cece2e5d5d62e657442a92094324cfba6466eb
treeee6ed88377a7ea38a81e1b662785e9f4346dcd9c
parent7e67bb8588a51269784cdee84dc985b33eae90a9
parse.y (check_class_key): Allow KEY to be union/enum/struct/class node with attributes.

* parse.y (check_class_key): Allow KEY to be union/enum/struct/class
node with attributes.

* g++.dg/parse/attr1.C: New test.

From-SVN: r52678
gcc/cp/ChangeLog
gcc/cp/parse.y
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/attr1.C [new file with mode: 0644]