dtor2.C   [plain text]


// 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
}