3 foo(void) { return 1; }
4 static bar(void) { return 1; }
7 * check-name: implicit-ret-type.c
8 * check-command: sparse -Wno-decl $file
11 implicit-ret-type.c:1:1: warning: 'fun()' has implicit return type
12 implicit-ret-type.c:3:1: warning: 'foo()' has implicit return type
13 implicit-ret-type.c:4:8: warning: 'bar()' has implicit return type