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
/
cse-reg01.c
blob
3ea283d35368f2568ffc825d96c9bbc84033a0fd
1
int
foo
(
int
a
,
int
b
) {
int
x
=
a
+
b
,
y
= ~
b
;
return
(
x
<
y
) == (
y
>
x
); }
2
3
/*
4
* check-name: cse-reg01
5
* check-command: test-linearize -Wno-decl $file
6
*
7
* check-output-ignore
8
* check-output-returns: 1
9
*/