From: Richard Henderson Date: Sat, 17 Mar 2001 18:29:55 +0000 (-0800) Subject: * g++.old-deja/g++.other/eh4.C: Add expected error text. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e72dd89c988d971f1dac8f6763bbd23d9de502e3;p=gcc.git * g++.old-deja/g++.other/eh4.C: Add expected error text. From-SVN: r40579 --- 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; };