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