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
/
cmp-and-pow2.c
blob
01ba2537521f45671252300cd487f189f9c08b3a
1
#define M 32
2
3
_Bool
eq
(
int
a
) {
return
((
a
&
M
) !=
M
) == ((
a
&
M
) ==
0
); }
4
_Bool
ne
(
int
a
) {
return
((
a
&
M
) ==
M
) == ((
a
&
M
) !=
0
); }
5
6
/*
7
* check-name: cmp-and-pow2
8
* check-command: test-linearize -Wno-decl $file
9
*
10
* check-output-ignore
11
* check-output-returns: 1
12
*/