update
From-SVN: r21354
This commit is contained in:
parent
25eb19ff0a
commit
136dc16a52
@ -10,12 +10,12 @@ struct a {
|
||||
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 *-*-*
|
||||
}
|
||||
|
||||
|
@ -3,11 +3,14 @@
|
||||
// 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();
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
// Error: Internal compiler error on 1998/05/28 snapshot.
|
||||
// Build don't link:
|
||||
|
||||
class foo {
|
||||
typedef int sometype;
|
||||
};
|
||||
class foo {
|
||||
typedef int sometype;
|
||||
};
|
||||
|
||||
struct die : public foo::sometype {
|
||||
};
|
||||
struct die : public foo::sometype { // ERROR - invalid base type
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user