re PR c++/28558 (Trouble with __attribute__ and non-PODs)
authorJason Merrill <jason@redhat.com>
Tue, 28 Aug 2007 13:57:09 +0000 (09:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 28 Aug 2007 13:57:09 +0000 (09:57 -0400)
commitc206a697018f0d9b5da08acb4585bc64aa1cb8e3
treed3c91b2a9bed6196c94235a41d63153e044d54cf
parent1c445f037f02fcf3e52e1b2cbc80aa38a5c93fd4
re PR c++/28558 (Trouble with  __attribute__ and non-PODs)

        PR c++/28558
        * cp/decl.c (groktypename): Ignore attributes applied to class type.
        * testsuite/g++.dg/ext/attrib28.C: New test.

From-SVN: r127859
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib28.C [new file with mode: 0644]