aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-not-neg.c
blob: b9675ea62049c42df7dd25f97fc72a3bbbce4228 (plain)
1
2
3
4
5
6
7
8
9
10
int foo(int x) { return ~(-x) == (x - 1); }

/*
 * check-name: simplify-not-neg
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-contains: ret\\..*\\$1
 */