URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [abi/] [vthunk3.C] - Rev 832
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// { dg-options "-fabi-version=0" }
struct A {
virtual void a ();
};
struct B : virtual public A {
virtual void b ();
virtual void a ();
};
struct C {
virtual void c ();
};
struct D : public C, public B {
};
struct E : virtual public D {
void b ();
};
void E::b () {}
// { dg-final { scan-assembler _ZTvn4_n20_N1E1bEv } }
Go to most recent revision | Compare with Previous | Blame | View Log