aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/eh4.C2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a10ee5b..e3c4710 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-17 Richard Henderson <rth@redhat.com>
+
+ * g++.old-deja/g++.other/eh4.C: Add expected error text.
+
2001-03-15 Geoff Keating <geoff@redhat.com>
* gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these
diff --git a/gcc/testsuite/g++.old-deja/g++.other/eh4.C b/gcc/testsuite/g++.old-deja/g++.other/eh4.C
index 437d9a7..22bba68 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/eh4.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/eh4.C
@@ -5,7 +5,7 @@ class foo {
public:
foo() {};
void throwMe () {
- throw *this; // ERROR
+ throw *this; // ERROR - cannot be used in throw-expression
};
virtual void test () = 0;
};