1 int foo(a, b)
2 int a;
3 {
4 if (b)
5 return a;
6 }
7
8 /*
9 * check-name: implicit-KR-arg-type
10 * check-command: sparse -Wno-decl -Wold-style-definition -Wno-implicit-int $file
11 *
12 * check-error-start
13 implicit-KR-arg-type0.c:2:9: warning: non-ANSI definition of function 'foo'
14 * check-error-end
15 */