* g++.dg/ext/attrib9.C: Add dg-warnings.
From-SVN: r75847
This commit is contained in:
parent
e0fed25b88
commit
d22c417920
|
@ -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
|
||||
|
|
|
@ -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" }
|
||||
|
|
Loading…
Reference in New Issue