(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
compat/
eh/
ctor1_y.C
extern bool was_f_in_Bar_destroyed;

#include "ctor1.h"

Foo::~Foo()
{
  was_f_in_Bar_destroyed=true;
}

Bar::~Bar()
#if __cplusplus < 201103L
throw(int)
#else
noexcept(false)
#endif
{
  throw 1;
}