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++.dg/] [abi/] [layout4.C] - Rev 320
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=1" }
struct C4
{
int b:30;
C4(){};
};
struct C1: virtual C4
{
int i;
};
int main() {
if (sizeof (C1) != 12)
return 1;
}
Go to most recent revision | Compare with Previous | Blame | View Log