Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
dtor15.C
blob: ae85a702a408a288ee99f57fbce7787e9defe233 [
file
] [
log
] [
blame
]
// PR c++/39225
template
<
class
T
>
class
A
{
public
:
A
()
{}
~
B
()
{}
// { dg-error "~B" }
};
int
main
()
{
A
<int>
*
a
=
new
A
<int>
;
return
0
;
}