URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p11142.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-fexceptions -O -g" }
// prms-id: 11142
class RWxmsg {
public:
RWxmsg();
virtual ~RWxmsg();
};
class RWTHRInternalError : public RWxmsg {
public:
virtual ~RWTHRInternalError() { }
};
void setCount(int count) {
throw RWTHRInternalError();
}