1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// Special g++ Options: -fexceptions struct A { A() { } A(const char *) { } A(const A&) { } ~A() { } }; struct bmf { bmf (const A n) { } ~bmf (void) { } A name; }; void imf (void) { bmf Sabs ("abs"); } int main(void) { imf (); }