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

/*
 * check-name: simplify-same-subl-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\\.
 */