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
Revert "constraints: fix bug in remove_from_equiv()"
[smatch.git]
/
validation
/
declaration-after-statement-ansi.c
blob
22635cfafd0d1bd61849903cb35fc584417595d7
1
static void
func
(
int
i
)
2
{
3
i
;
4
int
j
=
i
;
5
}
6
/*
7
* check-name: declaration after statement (ANSI)
8
* check-command: sparse -ansi $file
9
* check-error-start
10
declaration-after-statement-ansi.c:4:9: warning: mixing declarations and code
11
* check-error-end
12
*/