URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [bitfield5.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// { dg-options "-Wabi -fabi-version=1" }
// { dg-options "-Wabi -fabi-version=1 -mno-ms-bitfields" { target i?86-*-* x86_64-*-* } }
struct A {
virtual void f();
int f1 : 1;
};
struct B : public A {
int f2 : 1; // { dg-warning "ABI" }
int : 0;
int f3 : 4;
int f4 : 3;
};
Go to most recent revision | Compare with Previous | Blame | View Log