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