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/fixup_kernel.sh: fix clear_user() handling
[smatch.git]
/
validation
/
optim
/
simplify-neg-sub.c
blob
9a824f09c1db1d48a27f40746f26f2c66f90c07e
1
int
foo
(
int
x
,
int
y
) {
return
-(
x
-
y
) == (
y
-
x
); }
2
3
/*
4
* check-name: simplify-neg-sub
5
* check-command: test-linearize -Wno-decl $file
6
*
7
* check-output-ignore
8
* check-output-contains: ret\\..*\\$1
9
*/