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 a10ee5bda10..e3c4710ff40 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 437d9a70958..22bba680c34 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.30.2