blob: 3bc6ba997a5773812f80a5d749b699e828c6c7cf [file] [log] [blame]
struct A {
virtual int foo() { return 0; }
};
struct B {
virtual int f() {return 1; }
};
struct C : public A, public B {
C();
virtual int f() { return 0; }
};
C::C()
{
}
int
main()
{
C c;
return c.f();
}