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
Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
layout4.C
blob
13d3648d6f5d7be183e68c9fdb7aef25d4c9bdce
1
// { dg-do run { target i?86-*-* } }
2
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
3
// { dg-options "-fabi-version=1" }
4
5
struct C4
6
{
7
int b:30;
8
C4(){};
9
};
10
11
struct C1: virtual C4
12
{
13
int i;
14
};
15
16
int main() {
17
if (sizeof (C1) != 12)
18
return 1;
19
}