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
/
empty9.C
1
// { dg-do run { target i?86-*-* } }
2
// { dg-forbid-option "-m64" }
3
// { dg-options "-w -fabi-version=0" }
4
5
struct E1 {};
6
struct E2 : public E1 {
7
virtual void f ();
8
};
9
struct E3 : virtual public E1 {
10
};
11
struct S : public E2, virtual public E3 {
12
};
13
14
int main () {
15
if (sizeof (S) != 12)
16
return 1;
17
}