update
authorJason Merrill <jason@gcc.gnu.org>
Mon, 19 Oct 1998 20:13:15 +0000 (16:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 19 Oct 1998 20:13:15 +0000 (16:13 -0400)
From-SVN: r23187

gcc/testsuite/g++.old-deja/g++.bugs/900213_03.C
gcc/testsuite/g++.old-deja/g++.mike/p10769a.C
gcc/testsuite/g++.old-deja/g++.ns/extern1.C
gcc/testsuite/g++.old-deja/g++.other/pmf2.C
gcc/testsuite/g++.old-deja/g++.robertl/eb131.C

index d25a8b2f7f766cd6ea5e780e719da8ef1af08216..4e15896b1c7c5bd1fde7a0f046f88fafefe812fd 100644 (file)
@@ -21,7 +21,7 @@ struct0 *ptr;
 
 void global_function_0 ()
 {
-  fmp = &ptr->function_member; // ERROR - missed by g++, warned by cfront, XFAIL *-*-*
+  fmp = &ptr->function_member; // ERROR - 
   //dmp = &ptr->data_member;   //  caught by g++, missed by cfront
 }
 
index c0bd36c62695f0f907bdbfa52e26ce4e44ddc5eb..ae55c24895a1affadddd7f2e3e3a7cae988e5afc 100644 (file)
@@ -31,7 +31,7 @@ void A::main() {
   void (A::*mPtr)() = &A::f1a;
 
   (*(void (*)(A*))PMF2PF(mPtr))(&a);
-  (*(void (*)(A*))PMF2PF(f2a))(&a);
+  (*(void (*)(A*))PMF2PF(f2a))(&a); // gets bogus error XFAIL *-*-*
 }
 
 int main() {
@@ -40,6 +40,6 @@ int main() {
   void (A::*mPtr)() = &A::f1b;
 
   (*(void (*)(A*))PMF2PF(a.*mPtr))(&a);
-  (*(void (*)(A*))PMF2PF(a.f2a))(&a);
+  (*(void (*)(A*))PMF2PF(a.f2a))(&a); // gets bogus error XFAIL *-*-*
   return ok != 3+3+5+5+7+7;
 }
index 0c8a45c5bdc38b7b3c6b39f8537bf758975a6b53..906b97b8f061fa36c4d2665cbd116a4e82b13bc6 100644 (file)
@@ -5,8 +5,6 @@
 // An extern declaration of an undeclared object within a function
 // introduces the object into the enclosing namespace [basic.link]/7
 
-// excess errors test - XFAIL *-*-*
-
 namespace {
   void foo() {
     extern int xx;
index 72de6b638bb902ffef9782d6e877df7865098a55..92935c0e451d3c195bc39c3613572f3c47816f74 100644 (file)
@@ -14,5 +14,5 @@ S * pf;
 void
 f()
 {
-       pmf = & pf->f; // ERROR - not a valid pmf expression - XFAIL *-*-*
+       pmf = & pf->f; // ERROR - not a valid pmf expression
 }
index faa391df4a42c7df93d8822a10872f9846835dcd..f0f7febbd8c4c1f4836cc97fa36338d7a1080712 100644 (file)
@@ -10,12 +10,11 @@ struct a {
        void bar( double );
        void bar( float );
 
-       void foo( void (a::*member)(float) ); // ERROR - 
+       void foo( void (a::*member)(float) );
 };
 
 a::a()
 {
        foo( &junk ); // ERROR - junk is an unqualified-id.
-       foo( &bar );  // ERROR - bar is an unqualified-id. XFAIL *-*-*
+       foo( &bar );  // ERROR - bar is an unqualified-id.
 }
-