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
/
vbase11.C
blob
375577365a37bf6182f3a1cf56021c83e0869bcd
1
// { dg-do run { target i?86-*-* } }
2
// { dg-options "-fabi-version=0" }
3
4
struct A { virtual void f(); char c1; };
5
struct B { B(); char c2; };
6
struct C : public A, public virtual B { };
7
8
int main () {
9
if (sizeof (C) != 8)
10
return 1;
11
}
12