2 // GROUPS passed copy-ctors
3 // Using Cfront 3.0.1 the programm below prints
12 // the g++ 2.2.2 (sparc-sun-sunos4.1) generated code prints
17 // A(const A& a) <---- !!!
21 extern "C" int printf (const char *, ...);
22 extern "C" void exit (int);
39 A(const A& a) { die (2); }
41 ~A() { count++; if (count != 3 && count != 5 && count != 6) die (-1); }
44 void foo1(const A& a) {