1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// { dg-do assemble } // 981204 bkoz // g++/17922 class base { }; struct derived : public base { derived (const derived&); derived (const base&); }; class tahiti { public: static void mf (derived); }; void foo (const derived aaa) { tahiti::mf(aaa); }