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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
empty5.C
blob
c3717727e21469e72f51025c007b81cc94f1cb2a
1
// { dg-options "-fabi-version=0" }
2
3
struct A {};
4
5
struct B {
6
A a;
7
virtual void f () {}
8
};
9
10
struct C : public B, public A {};
11
12
C c;
13
14
int main () {
15
if ((void*) (A*) &c != &c)
16
return 1;
17
}