#include <iostream>

class X
{
public:
  X() { throw 1; }
};
class Y
{
public:
  Y() try: x() { }
  catch(...) { /* throw; */ }
private:
    X x;
};

int main() try
{
  Y y;
  return 0;
}
catch (int i)
{
  std::cerr << "exception: " << i << std::endl;
}
