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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
empty9.C
blob
757bf6c8690e39e4b9975702d067fa65c49e6e10
1
// { dg-do run { target i?86-*-* } }
2
// { dg-options "-w -fabi-version=0" }
3
4
struct E1 {};
5
struct E2 : public E1 {
6
virtual void f ();
7
};
8
struct E3 : virtual public E1 {
9
};
10
struct S : public E2, virtual public E3 {
11
};
12
13
int main () {
14
if (sizeof (S) != 12)
15
return 1;
16
}