aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-same-subr-add.c
blob: bafd2643bfd0e006fefdd015b7464f89c2a56974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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-known-to-fail
 *
 * check-output-ignore
 * check-output-contains: neg\\..* %arg2
 * check-output-excludes: add\\.
 * check-output-excludes: sub\\.
 */