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

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

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