URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p11142.C] - Rev 12
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();
}