aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIra Ruben <ira@gcc.gnu.org>2002-01-13 20:56:30 +0000
committerIra Ruben <ira@gcc.gnu.org>2002-01-13 20:56:30 +0000
commit332a685b951775219ed01e637d4856d4c6f04c8b (patch)
treeb8c2857f08157a87815d12cacd5bd64a4dfa2f6f /gcc
parent61d477875a82053267bff6d3ad08f193c677f9d7 (diff)
downloadgcc-332a685b951775219ed01e637d4856d4c6f04c8b.zip
gcc-332a685b951775219ed01e637d4856d4c6f04c8b.tar.gz
gcc-332a685b951775219ed01e637d4856d4c6f04c8b.tar.bz2
Made obvious fixes to remove this test's errors.
The reason it wasn't cought before was because when I ran the testsuite on my OSX system while it did report a failure it only reported one failure. I get this a lot for valid tests so I ignored it. I get it on OSX because at the moment something is going on with 'expect' on OSX erronously reporting errors that aren't really errors. This is currently under investigation (it may be some kind of buffer/race condition). From-SVN: r48821
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/other/deprecated.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/other/deprecated.C b/gcc/testsuite/g++.dg/other/deprecated.C
index 1cc917d..c4c4642 100644
--- a/gcc/testsuite/g++.dg/other/deprecated.C
+++ b/gcc/testsuite/g++.dg/other/deprecated.C
@@ -98,11 +98,11 @@ class T {
int x;
} __attribute__ ((deprecated));
-T *p2;
+T *p3;
inline void T::member1(int) {}
-int T::member2(T *p)
+int T::member3(T *p)
{
p->member1(1); /* { dg-warning "`member1' is deprecated" "" } */
(*p).member1(2); /* { dg-warning "`member1' is deprecated" "" } */