OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
virtual2.C
1
// PR c++/51137
2
3
struct A {};
4
5
template<int> struct B : virtual A
6
{
7
void foo()
8
{
9
(new A(*this))->A::~A();
10
}
11
};