blob: fa1e0a92b639d14d63c18809ff9c3448c8761f51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// { dg-do run }
// 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(); // { dg-bogus "" }
}
|