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
2013-05-29 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
vbase11.C
blob
8c854b9c13e6bde11f0362e76d34c9b345408cc4
1
// { dg-do run { target i?86-*-* x86_64-*-* } }
2
// { dg-require-effective-target ilp32 }
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