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
/
dtor1.C
blob
48b0a5571277ffe771c7a78d273cf47ac4d4ff87
1
// { dg-do compile { target i?86-*-* } }
2
// { dg-options "-fabi-version=0" }
3
4
struct A {
5
virtual void a ();
6
};
7
8
struct B {
9
virtual ~B ();
10
};
11
12
struct C : public A, public B {
13
virtual void c ();
14
};
15
16
struct D : virtual public C {
17
virtual void d ();
18
};
19
20
void D::d () {}
21
22
// { dg-final { scan-assembler _ZTv0_n20_N1DD1Ev } }