OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* lib/gcc-dg.exp (dg-skip-if): New function.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
bitfield8.C
1
// { dg-do run { target i?86-*-* } }
2
// { dg-options "-fabi-version=0" }
3
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
4
5
struct A {
6
virtual void f() {}
7
int f1 : 1;
8
};
9
10
struct B : public A {
11
int f2 : 31;
12
int f3 : 4;
13
int f4 : 3;
14
};
15
16
int main ()
17
{
18
if (sizeof (B) != 16)
19
return 1;
20
}
21