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
/
vbase10.C
blob
7683250ea5d48e59cc3868a2102f1769e3d671b8
1
// { dg-do compile }
2
// { dg-options "-Wabi -fabi-version=1" }
3
4
struct A { virtual void f(); char c1; };
5
struct B { B(); char c2; };
6
struct C : public A, public virtual B {}; // { dg-warning "ABI" }
7