void bar( double );
void bar( float );
- void foo( void (a::*member)(float) ); // ERROR -
+ void foo( void (a::*member)(float) ); // ERROR -
};
a::a()
{
foo( &junk ); // ERROR - junk is an unqualified-id.
- foo( &bar ); // ERROR - bar is an unqualified-id.
+ foo( &bar ); // ERROR - bar is an unqualified-id. XFAIL *-*-*
}
// Reported against EGCS snaps 98/06/28.
// Special g++ Options: -O -Wall -fgcse -frerun-loop-opt
//
-// Compilation of this program with the flags g++ -Wall -O -fgcse -frerun-loop-opt
-// or -O2 produces spurious warnings in the standard header <std/bastring.h>.
+// Compilation of this program with the flags g++ -Wall -O -fgcse
+// -frerun-loop-opt or -O2 produces spurious warnings in the standard
+// header <std/bastring.h>.
//
// They vanish if the declaration of a::b is taken out.
+// excess errors test - XFAIL *-*-*
+
#include <string>
string foo();