* g++.old-deja/g++.other/eh4.C: Add expected error text.
From-SVN: r40579
This commit is contained in:
parent
acc187f507
commit
e72dd89c98
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue