repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
re PR middle-end/79665 (gcc's signed (x*x)/200 is slower than clang's)
[official-gcc.git]
/
libvtv
/
testsuite
/
libvtv.cc
/
derived-lib.cpp
blob
375dbe41bde4471993593600dadc078cb2ab1b15
1
#include
"lib.h"
2
3
struct
Derived_Private
:
public
Base
4
{
5
virtual
~
Derived_Private
()
6
{
printf
(
"in Derived_Private destructor
\n
"
); }
7
};
8
9
Base
*
GetPrivate
()
10
{
11
return new
Derived_Private
();
12
}
13
14
void
Destroy
(
Base
*
pb
)
15
{
16
delete
pb
;
// Virtual call #1
17
}
18