URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [warn/] [Wreturn-2.C] - Rev 701
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
int foo(int first) {
while (true) {
return first;
}
} // { dg-bogus "control reaches" }
Go to most recent revision | Compare with Previous | Blame | View Log