1f08c3bdfSopenharmony_ciint neg_add(int x, int y) { return -x + y; }
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ci/*
4f08c3bdfSopenharmony_ci * check-name: simplify-neg-add
5f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file
6f08c3bdfSopenharmony_ci *
7f08c3bdfSopenharmony_ci * check-output-ignore
8f08c3bdfSopenharmony_ci * check-output-contains: sub\\..*%arg2, %arg1
9f08c3bdfSopenharmony_ci */
10