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

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