1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
int def(void); int canon_arg_arg(int a, int b) { return (a + b) == (b + a); } int canon_arg_reg(int a) { int b = def(); return (a + b) == (b + a); } /* * check-name: canonical-arg * check-command: test-linearize -Wno-decl $file * * check-output-ignore * check-output-returns: 1 */