#include <iostream>
#include <exception>
using namespace std;
struct T
{
~T()
{
cout << "~T()";
throw 1;
}
};
int main()
{
try
{
T t[10];
}
catch(int)
{
cout << "catch";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8ZXhjZXB0aW9uPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogCnN0cnVjdCBUCnsKICAgIH5UKCkKICAgIHsKICAgICAgICBjb3V0IDw8ICJ+VCgpIjsKICAgICAgICB0aHJvdyAxOwogICAgfQp9OwogCmludCBtYWluKCkKewogICAgdHJ5CiAgICB7CiAgICAgICAgVCB0WzEwXTsKICAgIH0KICAgIGNhdGNoKGludCkKICAgIHsKICAgICAgICBjb3V0IDw8ICJjYXRjaCI7CiAgICB9CiAgICByZXR1cm4gMDsKfQo=