URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [crash13.C] - Rev 305
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-Wreturn-type" }
// GROUPS passed old-abort
class gen_op
{
public:
gen_op ( );
gen_op (const gen_op &Op1);
~gen_op ( );
void operator = (const gen_op &Op1);
};
class spin_op
{
public:
spin_op();
spin_op(const spin_op& SOp);
~spin_op();
void operator= (const spin_op& SOp);
operator gen_op();
};
spin_op Fe();
gen_op Spul_U_axis()
{
gen_op U1;
U1 = Fe();
} // { dg-warning "no return" } reaches end of non-void function
int
main () {}