diff options
author | Robert Lipe <robertl@gcc.gnu.org> | 1998-05-31 20:47:01 +0000 |
---|---|---|
committer | Robert Lipe <robertl@gcc.gnu.org> | 1998-05-31 20:47:01 +0000 |
commit | 41c3f1e1d9f5cfa5cf3d755b0f58d164fca1570e (patch) | |
tree | d20a0055354e358c5a9015a8f11b94e21d3a9c84 | |
parent | 655ccec163bee97c9e38fbe2cca7eb651eb7be93 (diff) | |
download | gcc-41c3f1e1d9f5cfa5cf3d755b0f58d164fca1570e.zip gcc-41c3f1e1d9f5cfa5cf3d755b0f58d164fca1570e.tar.gz gcc-41c3f1e1d9f5cfa5cf3d755b0f58d164fca1570e.tar.bz2 |
Additional changes from Martin von Loewis.
From-SVN: r20153
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb17.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb32.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb50.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb76.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb79.C | 2 |
5 files changed, 8 insertions, 5 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C index 86b5424..f32dadb 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb17.C @@ -1,3 +1,5 @@ +// excess errors test - XFAIL +// covariant return types in are currently not support for complex inheritance #include <stdio.h> class A { diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb32.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb32.C index b5bc839..95e1617 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb32.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb32.C @@ -6,7 +6,7 @@ public: void A::malloc(unsigned int) {} -int foo() { +void foo() { A a; a.malloc(3); // <-- line 10 } diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb50.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb50.C index c6eb4aa..c7f9076 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb50.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb50.C @@ -9,8 +9,8 @@ int main() { try { f(0, 0); - return 0; - } catch (foo x) { return 1; + } catch (foo x) { + return 0; } } diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C index c32b104..0d352dd 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C @@ -1,3 +1,4 @@ +//Build don't link: // from include/g++/stl_relops.h template <class T> inline bool operator!=(const T& x, const T& y) { @@ -6,7 +7,7 @@ inline bool operator!=(const T& x, const T& y) { enum T { V1, -}; +}; // ERROR - struct X { T t : 31; diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb79.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb79.C index 599d042..5691532 100644 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb79.C +++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb79.C @@ -8,7 +8,7 @@ T max(T a, T b) } // Prototypes (enable one or the other) -double max<>(double, double); +double max<>(double, double); // ERROR - bogus code // int max(int, int); int main() |