URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20081217-2_0.C] - Rev 751
Go to most recent revision | Compare with Previous | Blame | View Log
struct A {
virtual int foo() {}
};
struct B {
virtual int f() {return 1; }
};
struct C : public A, public B {
C();
virtual int f() { return 0; }
};
C::C()
{
}
main()
{
C c;
return c.f();
}
Go to most recent revision | Compare with Previous | Blame | View Log