repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Automatic date update in version.in
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.cp
/
destrprint.cc
blob
0def8e482725d04cbe80a29995bfe45615b9fd4a
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
}