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

From-SVN: r40579
This commit is contained in:
Richard Henderson 2001-03-17 10:29:55 -08:00 committed by Richard Henderson
parent acc187f507
commit e72dd89c98
2 changed files with 5 additions and 1 deletions

View 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

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