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
/
simplify-neg-not.c
blob
e92352cfeeecb74012decbfe902b221473bfd0d3
1
int
foo
(
int
x
) {
return
-(~
x
) ==
x
+
1
; }
2
3
/*
4
* check-name: simplify-neg-not
5
* check-command: test-linearize -Wno-decl $file
6
*
7
* check-output-ignore
8
* check-output-contains: ret\\..*\\$1
9
*/