URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [conv13.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/52088
struct S
{
template <typename T>
operator T *() { return 0; }
};
int main()
{
S s;
delete s; // { dg-error "ambiguous|template|pointer" }
}