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
db/insert_manual_states.pl: remove debug output
[smatch.git]
/
validation
/
optim
/
range-check2.c
blob
69c01b9d36d52127a3d5fa8a55e02e5f164c4e69
1
#define N 1024
2
3
_Bool
check_ok
(
int
i
)
4
{
5
return
(
i
>=
0
&&
i
<
N
) == (((
unsigned int
)
i
) <
N
);
6
}
7
8
/*
9
* check-name: range-check2
10
* check-command: test-linearize -Wno-decl $file
11
*
12
* check-output-ignore
13
* check-output-returns: 1
14
*/