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

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