blob: 7f975136e8d4fd070a48551c0367045516674c4f (
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;
main()
{
a.~A(); // gets bogus error
}
|