repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
param_key: fix container of when no struct member is referenced
[smatch.git]
/
validation
/
implicit-KR-arg-type0.c
blob
f73d36ffec487990a666a7b130ed0a3c54ce3b19
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
*/