repo.or.cz
/
smatch
/
bkmgit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
checking_for_null_instead_of_err_ptr: use smatch_kernel_err_ptr.c
[smatch/bkmgit.git]
/
validation
/
optim
/
memops-missed02.c
blob
6f02864979436cd38468205cd6e01052fa2d0f12
1
void
foo
(
int
a
[])
2
{
3
int
i
,
val
;
4
for
(;;
i
++)
5
val
=
a
[
i
] ?
a
[
i
] :
val
;
6
}
7
8
/*
9
* check-name: memops-missed02
10
* check-command: test-linearize -Wno-decl $file
11
*
12
* check-output-ignore
13
* check-output-pattern(1): load\\.
14
*/