Commit e72dd89c by Richard Henderson Committed by Richard Henderson

* g++.old-deja/g++.other/eh4.C: Add expected error text.

From-SVN: r40579
parent acc187f5
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
......
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment