1 fun(void);
   2 
   3 foo(void) { return 1; }
   4 static bar(void) { return 1; }
   5 
   6 /*
   7  * check-name: implicit-ret-type.c
   8  * check-command: sparse -Wno-decl $file
   9  *
  10  * check-error-start
  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
  14  * check-error-end
  15  */