aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-neg-sub.c
blob: 9a824f09c1db1d48a27f40746f26f2c66f90c07e (plain)
1
2
3
4
5
6
7
8
9
int foo(int x, int y) { return -(x - y) == (y - x); }

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