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
2004-11-12 Mark Mitchell <mark@codesourcery.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
layout4.C
1
// { dg-do run { target i?86-*-* } }
2
// { dg-forbid-option "-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
}