URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [vbase11.C] - Rev 718
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// { dg-options "-fabi-version=0" }
struct A { virtual void f(); char c1; };
struct B { B(); char c2; };
struct C : public A, public virtual B { };
int main () {
if (sizeof (C) != 8)
return 1;
}
Go to most recent revision | Compare with Previous | Blame | View Log