blob: c088e3f3d2ec49cd08883c35407395afffad6af7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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
}
|