aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-same-subr-add.c
blob: 950c55f67c24a5e24d214f7766a73334be21d5be (plain)
1
2
3
4
5
6
7
8
9
10
11
int subr_add(int x, int y) { return x - (y + x); }

/*
 * check-name: simplify-same-subr-add
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-contains: neg\\..* %arg2
 * check-output-excludes: add\\.
 * check-output-excludes: sub\\.
 */