aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/muldiv-by-zero.c
blob: 07b7b1a79b3ae10e4c541897a28971c1f42104fe (plain)
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]\\.
 */