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