aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/cse-reg01.c
blob: 3ea283d35368f2568ffc825d96c9bbc84033a0fd (plain)
1
2
3
4
5
6
7
8
9
int foo(int a, int b) { int x = a + b, y = ~b; return (x < y) == (y > x); }

/*
 * check-name: cse-reg01
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-returns: 1
 */