* g++.dg/ext/attrib9.C: Add dg-warnings.

From-SVN: r75847
This commit is contained in:
Danny Smith 2004-01-14 07:31:39 +00:00 committed by Danny Smith
parent e0fed25b88
commit d22c417920
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -1,5 +1,5 @@
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" }