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