1 /** Simple test for special multiplication support (wide x narrow)
3 type: unsigned char, signed char, unsigned int, signed int
7 unsigned long long ull
;
12 ull
= (unsigned long long)l
* 10;
19 ull
= (unsigned long long)l
* c
;
28 ASSERT (ull
== 10ull * ({type
})10);
30 ASSERT (ull
== 10ull * ({type
})10);
35 ASSERT (ull
== 100ull * ({type
})10);
37 ASSERT (ull
== 100ull * ({type
})10);
42 ASSERT (ull
== 1000ull * ({type
})10);
44 ASSERT (ull
== 1000ull * ({type
})10);
49 ASSERT (ull
== 10000ull * ({type
})10);
51 ASSERT (ull
== 10000ull * ({type
})10);
56 ASSERT (ull
== 100000ull * ({type
})10);
58 ASSERT (ull
== 100000ull * ({type
})10);
63 ASSERT (ull
== 100000ull * ({type
})100);
68 ASSERT (ull
== 100000ull * ({type
})1000);