URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [error19.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// PR C++/17867
struct A
{ // { dg-error "candidate" }
A(int);
};
const A& foo();
void bar()
{
foo()=A(0); // { dg-error "A" }
}
Go to most recent revision | Compare with Previous | Blame | View Log