aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/simplify-neg-add.c
blob: 6223b4f98f3b9711a23a07532997b27ed4b2ce8a (plain)
1
2
3
4
5
6
7
8
9
int neg_add(int x, int y) { return -x + y; }

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