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
/
range-check1.c
blob
358da045c456a9b9b6f50eb149b3d026f16ee5fa
1
#define N 1024
2
3
_Bool
check_ok
(
long
i
)
4
{
5
return
i
>=
0
&&
i
<
N
;
6
}
7
8
/*
9
* check-name: range-check1
10
* check-command: test-linearize -Wno-decl $file
11
*
12
* check-output-ignore
13
* check-output-contains: setbe\\..*0x3ff
14
* check-output-excludes: set[lga][te]\\.
15
* check-output-excludes: set[ab]\\.
16
*/