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
PR c++/12053
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
layout4.C
1
// { dg-do run { target i?86-*-* } }
2
// { dg-options "-fabi-version=1" }
3
4
struct C4
5
{
6
int b:30;
7
C4(){};
8
};
9
10
struct C1: virtual C4
11
{
12
int i;
13
};
14
15
int main() {
16
if (sizeof (C1) != 12)
17
return 1;
18
}