aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/cse-reg01.c
blob: 938858f4649b44c8a923e9aba85588f0d32ca053 (plain)
1
2
3
4
5
6
7
8
9
10
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-known-to-fail
 *
 * check-output-ignore
 * check-output-returns: 1
 */