]> gcc.gnu.org Git - gcc.git/commitdiff
* 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 a10ee5bda10ca3b0cf64038332d20e7c1a8f2545..e3c4710ff40f291fa184ea5fde96cfc891df4c5b 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 437d9a7095885908bb00273f9d274a0e5d7373bd..22bba680c34260db2a63323beec77350b12b33ba 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;
 };
This page took 0.07849 seconds and 5 git commands to generate.