Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
dtor2.C
blob: c088e3f3d2ec49cd08883c35407395afffad6af7 [
file
] [
log
] [
blame
]
// PRMS Id: 5163
// Bug: g++ doesn't accept the explicit destructor call syntax for templates.
template
<
class
T
>
struct
A
{
};
A
<int>
a
;
int
main
()
{
a
.~
A
();
// gets bogus error
}