URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.benjamin/] [17922.C] - Rev 12
Compare with Previous | Blame | View Log
// { 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);
}