1 typedef unsigned int ui;
2 typedef int si;
3
smul1(si a)4 si smul1(si a) { return a * 1; }
umul1(ui a)5 ui umul1(ui a) { return a * 1; }
sdiv1(si a)6 si sdiv1(si a) { return a / 1; }
udiv1(ui a)7 ui udiv1(ui a) { return a / 1; }
smod1(si a)8 si smod1(si a) { return a % 1; }
umod1(ui a)9 ui umod1(ui a) { return a % 1; }
10
11 /*
12 * check-name: muldiv-by-one
13 * check-command: test-linearize -Wno-decl $file
14 * check-output-ignore
15 *
16 * check-output-excludes: mul[us]\\.
17 * check-output-excludes: div[us]\\.
18 * check-output-excludes: mod[us]\\.
19 */
20