return-type-1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 10 行
C
10 行
/* 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" } */intfoo(void){ /* { dg-warning "control reaches end of non-void function" "warning for falling off end of non-void function" } */}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?