aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-not-add-cte.c
blob: 6594012b507733080f3528aee4bd6b6ba2904332 (plain)
1
2
3
4
5
6
7
8
9
10
11
#define C 3

int foo(int x) { return ~(x + C) == (~C - x); }

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