Sign in
gnu
/
binutils-gdb
/
36170420e329a8d6229eb89b38d8680cf39f1d53
/
.
/
gdb
/
testsuite
/
gdb.cp
/
destrprint.cc
blob: 0def8e482725d04cbe80a29995bfe45615b9fd4a [
file
] [
log
] [
blame
]
class
Base
{
public
:
int
x
,
y
;
Base
()
:
x
(
0
),
y
(
1
)
{
}
virtual
~
Base
()
{
// Break here.
}
};
class
Derived
:
public
Base
{
public
:
int
z
;
Derived
()
:
Base
(),
z
(
23
)
{
}
~
Derived
()
{
}
};
int
main
()
{
Derived
d
;
return
0
;
}