2 // GROUPS passed copy-ctors
5 If I compile it with cfront (AT&T C++ Translator 2.00.02 08/25/89) and run it
14 If I compile it with g++ (gcc version 2.2.2) and run it I get:
22 extern "C" int printf (const char *, ...);
23 extern "C" void exit (int);
41 A(const A&) { die (2); }
42 ~A() { count++; if (count != 4 && count != 5) die (-1); }
47 void Bar() { die (3); }
50 void Foo(B b) { b.Bar(); }