URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [gcc.dg/] [return-type-1.c] - Rev 839
Go to most recent revision | Compare with Previous | Blame | View Log
/* Missing warning for falling off the end of a non-void function. egcs-1.1.2 passes, egcs-ss-19990428 fails. http://gcc.gnu.org/ml/gcc-bugs/1999-03n/msg00221.html */ /* { dg-do compile } */ /* { dg-options "-O -Wreturn-type" } */ int foo(void) { } /* { dg-warning "control reaches end of non-void function" "warning for falling off end of non-void function" } */
Go to most recent revision | Compare with Previous | Blame | View Log