URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.benjamin/] [17922.C] - Rev 384
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);
}