* g++.old-deja/g++.other/eh4.C: Add expected error text.
authorRichard Henderson <rth@redhat.com>
Sat, 17 Mar 2001 18:29:55 +0000 (10:29 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 17 Mar 2001 18:29:55 +0000 (10:29 -0800)
From-SVN: r40579

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/eh4.C

index a10ee5b..e3c4710 100644 (file)
@@ -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
index 437d9a7..22bba68 100644 (file)
@@ -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;
 };