#include <iostream>
using namespace std;
class MyClass{
public:
~MyClass() throw(int) { throw 0;}
};
int main() {
try {
MyClass m;
throw 1;
}
catch(...)
{
std::cout<<"Exception catched"<<endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgTXlDbGFzc3sKCXB1YmxpYzoKCX5NeUNsYXNzKCkgdGhyb3coaW50KSB7IHRocm93IDA7fQp9OwoKaW50IG1haW4oKSB7Cgl0cnkgewoJCSBNeUNsYXNzIG07CgkJIHRocm93IDE7Cgl9CgljYXRjaCguLi4pCgl7CgkgICAgc3RkOjpjb3V0PDwiRXhjZXB0aW9uIGNhdGNoZWQiPDxlbmRsOwoJfQoJcmV0dXJuIDA7Cn0=