URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [copy1.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// Origin: hkluender@otg.com
// PR 5189
struct A
{
A(A&); // { dg-error "candidate" "" }
template <class T> A(T);
};
A a = 0; // { dg-error "no matching function|initializing" "" }
Go to most recent revision | Compare with Previous | Blame | View Log