]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* g++.dg/ext/attrib9.C: Add dg-warnings.
authorDanny Smith <dannysmith@users.sourceforge.net>
Wed, 14 Jan 2004 07:31:39 +0000 (07:31 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Wed, 14 Jan 2004 07:31:39 +0000 (07:31 +0000)
From-SVN: r75847

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

index 6bec6b4c0c856a994591288596ff059100a940d9..5c3c302c7e911fe84144ef655f179533211fae9a 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 ee6fdb1d375cf58e62483ff9220a72f830a8b156..d01fc12b6750f75bdbf2a0a559b0a513026c67b5 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" }