Sign in
gnu
/
gcc
/
e27771e5dcd8cf2cb757db6177a3485acd28b88f
/
.
/
libvtv
/
testsuite
/
libvtv.cc
/
derived-lib.cpp
blob: 375dbe41bde4471993593600dadc078cb2ab1b15 [
file
] [
log
] [
blame
]
#include
"lib.h"
struct
Derived_Private
:
public
Base
{
virtual
~
Derived_Private
()
{
printf
(
"in Derived_Private destructor\n"
);
}
};
Base
*
GetPrivate
()
{
return
new
Derived_Private
();
}
void
Destroy
(
Base
*
pb
)
{
delete
pb
;
// Virtual call #1
}