repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[gcn] mkoffload.cc: Print fatal error if -march has no multilib but generic has
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
debug
/
dwarf2
/
non-virtual-thunk.C
blob
2c1461f484dbbd2a857787b7ed51795461bb064f
1
// { dg-do compile }
2
// { dg-options "-gdwarf-2 -g2 -dA" }
3
4
// Verify that line number info is output for the non-virtual
5
// thunks for C::~C().
6
// { dg-final { scan-assembler "thunk.C:30" } }
7
8
class A
9
{
10
public:
11
A();
12
virtual ~A();
13
private:
14
int i;
15
};
16
17
class B
18
{
19
public:
20
B();
21
virtual ~B();
22
private:
23
int i;
24
};
25
26
class C : public A, public B
27
{
28
public:
29
C();
30
virtual ~C(); // line 30
31
};
32
33
C::C()
34
{
35
}
36
37
C::~C()
38
{
39
}