From e72dd89c988d971f1dac8f6763bbd23d9de502e3 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 17 Mar 2001 10:29:55 -0800 Subject: [PATCH] * g++.old-deja/g++.other/eh4.C: Add expected error text. From-SVN: r40579 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.old-deja/g++.other/eh4.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a10ee5bda10c..e3c4710ff40f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-03-17 Richard Henderson + + * g++.old-deja/g++.other/eh4.C: Add expected error text. + 2001-03-15 Geoff Keating * 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 437d9a709588..22bba680c342 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; }; -- 2.43.5