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
testsuite: get all tags in once
[smatch.git]
/
validation
/
Woverride-init-def.c
blob
95ecf33be6ea6a1ae2852195caec4683111eece7
1
static int
array
[] = {
2
[
1
] =
3
,
3
[
1
] =
1
,
/* check-should-warn */
4
};
5
6
/*
7
* check-name: Woverride-init-def
8
* check-command: sparse $file
9
*
10
* check-error-start
11
Woverride-init-def.c:2:10: warning: Initializer entry defined twice
12
Woverride-init-def.c:3:10: also defined here
13
* check-error-end
14
*/