+2004-01-14 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * g++.dg/ext/attrib9.C: Add dg-warnings.
+
2004-01-14 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/12335
-class __attribute__((unused)) C;
-struct __attribute__((unused)) S;
-union __attribute__((unused)) U;
+class __attribute__((unused)) C; // { dg-warning "type attributes" }
+struct __attribute__((unused)) S; // { dg-warning "type attributes" }
+union __attribute__((unused)) U; // { dg-warning "type attributes" }
enum e {};
-enum __attribute__((unused)) e;
+enum __attribute__((unused)) e; // { dg-warning "type attributes" }