2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / dtor2.C
blobfa1e0a92b639d14d63c18809ff9c3448c8761f51
1 // { dg-do run  }
2 // PRMS Id: 5163
3 // Bug: g++ doesn't accept the explicit destructor call syntax for templates.
5 template <class T> struct A { };
6 A<int> a;
8 int main()
10   a.~A();                       // { dg-bogus "" }