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