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
Delete an unused function merge_state_stack()
[smatch.git]
/
validation
/
declaration-after-statement-c89.c
blob
78632cd98536e97a6982604553aea2739237153d
1
static void
func
(
int
i
)
2
{
3
i
;
4
int
j
=
i
;
5
}
6
/*
7
* check-name: declaration after statement (C89)
8
* check-command: sparse -std=c89 $file
9
* check-error-start
10
declaration-after-statement-c89.c:4:2: warning: mixing declarations and code
11
* check-error-end
12
*/