Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
dtor11.C
blob: 9bb58b41d47fc83bfbe312619f73521bfb4a9a12 [
file
] [
log
] [
blame
]
template
<
class
T
>
struct
B
{
void
f
(
T
*
p
)
{
p
->
template
A
<int>
::~
A
<int>
();
p
->
A
::~
A
();
p
->~
A
<int>
();
p
->~
A
();
p
->~
T
();
p
->
T
::~
T
();
}
};
template
<
class
T
>
struct
A
{
};
int
main
()
{
B
<
A
<int>
>().
f
(
0
);
}