From: Danny Smith Date: Wed, 14 Jan 2004 07:31:39 +0000 (+0000) Subject: * g++.dg/ext/attrib9.C: Add dg-warnings. X-Git-Tag: releases/gcc-3.4.0~996 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d22c417920998fe96973c74e5068cff8f3a47811;p=thirdparty%2Fgcc.git * g++.dg/ext/attrib9.C: Add dg-warnings. From-SVN: r75847 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6bec6b4c0c85..5c3c302c7e91 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-01-14 Danny Smith + + * g++.dg/ext/attrib9.C: Add dg-warnings. + 2004-01-14 Giovanni Bajo PR c++/12335 diff --git a/gcc/testsuite/g++.dg/ext/attrib9.C b/gcc/testsuite/g++.dg/ext/attrib9.C index ee6fdb1d375c..d01fc12b6750 100644 --- a/gcc/testsuite/g++.dg/ext/attrib9.C +++ b/gcc/testsuite/g++.dg/ext/attrib9.C @@ -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" }