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

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

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