URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.robertl/] [eb52.C] - Rev 305
Compare with Previous | Blame | View Log
// { dg-do assemble }
class base {
protected:
virtual void f();
};
class d1 : public virtual base {
protected:
void f();
};
void d1::f()
{
base::f();
}
class dd1 : public virtual d1 {
protected:
void f();
};
void dd1::f()
{
d1::f();
base::f();
}
class d1_and_base : public virtual d1, public virtual base {
protected:
void f();
};
void d1_and_base::f()
{
d1::f();
base::f();
}