repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PHIOPT: move factor_out_conditional_operation over to use gimple_match_op
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
bitfield8.C
blob
58e74be08fb52d957fcfd5e299d3a7a813bdbd1b
1
// { dg-do run { target i?86-*-* x86_64-*-* } }
2
// { dg-options "-fabi-version=0" }
3
// { dg-require-effective-target ilp32 }
4
5
6
struct A {
7
virtual void f() {}
8
int f1 : 1;
9
};
10
11
struct B : public A {
12
int f2 : 31;
13
int f3 : 4;
14
int f4 : 3;
15
};
16
17
int main ()
18
{
19
if (sizeof (B) != 16)
20
return 1;
21
}
22