URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [crash58.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/51223
struct A
{
A foo(void i = 0); // { dg-error "incomplete type|invalid use" }
};
void bar()
{
A().foo();
}
A A::foo(void i) // { dg-error "incomplete type|invalid use" }
{
return A();
}
Go to most recent revision | Compare with Previous | Blame | View Log