diff --git a/gcc/testsuite/g++.old-deja/g++.jason/operator.C b/gcc/testsuite/g++.old-deja/g++.jason/operator.C index a81a42385f8..e71c4e10544 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/operator.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/operator.C @@ -10,8 +10,8 @@ struct A { static int operator+(A,A); // ERROR - must be nonstatic int operator+(int a, int b = 1); // ERROR - two errors on this line int operator++(char); // ERROR - must take 'int' - void operator delete (void *); // ERROR - overloaded - void operator delete (void *, unsigned long); // ERROR - overloaded + void operator delete (void *); + void operator delete (void *, unsigned long); }; struct B { diff --git a/gcc/testsuite/g++.old-deja/g++.law/temps7.C b/gcc/testsuite/g++.old-deja/g++.law/temps7.C index ed1af55ce22..ddf028e31fa 100644 --- a/gcc/testsuite/g++.old-deja/g++.law/temps7.C +++ b/gcc/testsuite/g++.old-deja/g++.law/temps7.C @@ -1,6 +1,5 @@ // Build don't link: // GROUPS passed temps -// excess errors test - XFAIL *-*-* template class A { diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p710.C b/gcc/testsuite/g++.old-deja/g++.mike/p710.C index 56f09b1a67e..c6ab3b1d902 100644 --- a/gcc/testsuite/g++.old-deja/g++.mike/p710.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p710.C @@ -29,10 +29,10 @@ class B int x; virtual ~B() {} void operator delete(void*,size_t s) - {// ERROR - previous declaration as.* + { printf("B::delete() %d\n",s); } - void operator delete(void*){} // ERROR - .B::operator.*overloaded + void operator delete(void*){} }; main()