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