Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
dtor9.C
blob: fd71389b865bc9f440bd4494b46fbc7fa7cc95e9 [
file
] [
log
] [
blame
]
// PR c++/60347
struct
A
;
template
<
class
T
>
struct
B
{
T
*
p
;
virtual
~
B
()
{
p
->~
T
();
}
};
struct
C
:
B
<
A
>
{
};