1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
void foo(); struct A { ~A() { try { foo(); foo(); } catch (...) { } } }; void bar() { A a1, a2; }