------- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 19:38 ------- I'd say this is invalid. "You may specify type attributes in an enum, struct or union type declaration or definition, or for other types in a @code{typedef} declaration." See PR29436.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38611