blob: 9fee770f8740f79c54a6360824012a1338fc4460 [file] [log] [blame]
// { 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();
}