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

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