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

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