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

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