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
/
thunk1.C
blob
c9ad5b478f9c170ae22e181fb2598bbd495536ba
1
// { dg-do compile { target i?86-*-* } }
2
3
struct A {
4
virtual void f ();
5
};
6
7
struct B : public virtual A {
8
virtual void f ();
9
};
10
11
struct C {
12
virtual void g ();
13
};
14
15
struct D : public C, public B {
16
virtual void f ();
17
};
18
19
void D::f () {}
20
21
// { dg-final { scan-assembler _ZThn4_N1D1fEv } }
22
// { dg-final { scan-assembler _ZTv0_n12_N1D1fEv } }