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