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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
vbase14.C
blob
99290b857209f0dea75a2bd874b5f8b171c68444
1
// { dg-options "-Wabi" }
2
3
struct E1 {};
4
struct E2 : public E1 {}; // { dg-warning "layout" }
5
struct E : public E1, public E2 {}; // { dg-warning "layout|ambiguity" }
6
struct N : public E { virtual void f () {} }; // { dg-warning "nearly" }