OSDN Git Service

* g++.dg/ext/attrib9.C: Add dg-warnings.
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jan 2004 07:31:39 +0000 (07:31 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jan 2004 07:31:39 +0000 (07:31 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75847 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/attrib9.C

index 6bec6b4..5c3c302 100644 (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
index ee6fdb1..d01fc12 100644 (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" }