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

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