projects
/
platform
/
upstream
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gdb
[platform/upstream/binutils.git]
/
gdb
/
testsuite
/
gdb.cp
/
destrprint.cc
1
2
class Base
3
{
4
public:
5
int x, y;
6
7
Base() : x(0), y(1)
8
{
9
}
10
11
virtual ~Base()
12
{
13
// Break here.
14
}
15
};
16
17
class Derived : public Base
18
{
19
public:
20
int z;
21
22
Derived() : Base(), z(23)
23
{
24
}
25
26
~Derived()
27
{
28
}
29
};
30
31
int main()
32
{
33
Derived d;
34
35
return 0;
36
}