OSDN Git Service

* g++.old-deja/g++.other/eh4.C: Add expected error text.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Mar 2001 18:29:55 +0000 (18:29 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Mar 2001 18:29:55 +0000 (18:29 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40579 138bc75d-0d04-0410-961f-82ee72b054a4

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;
 };