diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-23 19:11:58 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-23 19:11:58 +0000 |
commit | 5e3d1da5d3f5c64041751797861c8184c7b91d9c (patch) | |
tree | 50e53ec3c66e003011fc823bda58ff4a4f462a94 /gcc/testsuite | |
parent | 3aa622aaf454e191c0b9b80d07dabe0278726bf5 (diff) | |
download | gcc-5e3d1da5d3f5c64041751797861c8184c7b91d9c.tar.gz |
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21354 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb131.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb132.C | 7 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb56.C | 12 |
3 files changed, 13 insertions, 10 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb131.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb131.C index 5f281af1ac7..faa391df4a4 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb131.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb131.C @@ -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 *-*-* } diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb132.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb132.C index 6b7b020abf3..9af64dab1e6 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb132.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb132.C @@ -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(); diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb56.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb56.C index 3d260c380ff..2d497f8b4e3 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb56.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb56.C @@ -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 +}; |