URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [dtor2.C] - Rev 699
Compare with Previous | Blame | View Log
// { 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 "" }
}