aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIra Ruben <ira@gcc.gnu.org>2002-01-16 02:49:18 +0000
committerIra Ruben <ira@gcc.gnu.org>2002-01-16 02:49:18 +0000
commit30c7461653e4a98d4bdf09ff993282bb59ec7623 (patch)
tree63e85e9bcfd3de5cac6e66e44e02a89318fb30dc /gcc
parentc99d986a712c0b61502b60f0477b9aab96fcc857 (diff)
downloadgcc-30c7461653e4a98d4bdf09ff993282bb59ec7623.zip
gcc-30c7461653e4a98d4bdf09ff993282bb59ec7623.tar.gz
gcc-30c7461653e4a98d4bdf09ff993282bb59ec7623.tar.bz2
Added missing dg-waning.
From-SVN: r48894
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/other/deprecated.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/other/deprecated.C b/gcc/testsuite/g++.dg/other/deprecated.C
index c4c4642..40d9dba 100644
--- a/gcc/testsuite/g++.dg/other/deprecated.C
+++ b/gcc/testsuite/g++.dg/other/deprecated.C
@@ -93,7 +93,7 @@ struct SS2 *p2; /* { dg-warning "`SS2' is deprecated" "" } */
class T {
public:
void member1(int) __attribute__ ((deprecated));
- void member2(INT1) __attribute__ ((__deprecated__));
+ void member2(INT1) __attribute__ ((__deprecated__)); /* { dg-warning "`INT1' is deprecated" "" } */
int member3(T *);
int x;
} __attribute__ ((deprecated));