param_key: fix container of when no struct member is referenced
[smatch.git] / validation / implicit-KR-arg-type0.c
blobf73d36ffec487990a666a7b130ed0a3c54ce3b19
1 int foo(a, b)
2 int a;
4 if (b)
5 return a;
8 /*
9 * check-name: implicit-KR-arg-type
10 * check-command: sparse -Wno-decl -Wold-style-definition -Wno-implicit-int $file
12 * check-error-start
13 implicit-KR-arg-type0.c:2:9: warning: non-ANSI definition of function 'foo'
14 * check-error-end