1 2 3 4 5 6 7 8 9 10 11 12 13
typedef unsigned int ui; typedef int si; si smul0(si a) { return a * 0; } ui umul0(ui a) { return a * 0; } /* * check-name: muldiv-by-zero * check-command: test-linearize -Wno-decl $file * check-output-ignore * * check-output-excludes: mul[us]\\. */