From d22c417920998fe96973c74e5068cff8f3a47811 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Wed, 14 Jan 2004 07:31:39 +0000 Subject: [PATCH] * g++.dg/ext/attrib9.C: Add dg-warnings. From-SVN: r75847 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/ext/attrib9.C | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6bec6b4c0c8..5c3c302c7e9 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 ee6fdb1d375..d01fc12b675 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" } -- 2.30.2