Commit d22c4179 by Danny Smith Committed by Danny Smith

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

From-SVN: r75847
parent e0fed25b
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> 2004-01-14 Giovanni Bajo <giovannibajo@gcc.gnu.org>
PR c++/12335 PR c++/12335
......
class __attribute__((unused)) C; class __attribute__((unused)) C; // { dg-warning "type attributes" }
struct __attribute__((unused)) S; struct __attribute__((unused)) S; // { dg-warning "type attributes" }
union __attribute__((unused)) U; union __attribute__((unused)) U; // { dg-warning "type attributes" }
enum e {}; enum e {};
enum __attribute__((unused)) e; enum __attribute__((unused)) e; // { dg-warning "type attributes" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment