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 772
Go to most recent revision | 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 "" }
}
Go to most recent revision | Compare with Previous | Blame | View Log