1 int __attribute__ ((noinline)) foo (short x, unsigned short y)
6 int __attribute__ ((noinline)) bar (unsigned short x, short y)
13 if (foo (-2, 0xffff) != -131070)
15 if (foo (2, 0xffff) != 131070)
17 if (foo (-32768, 0x8000) != -1073741824)
19 if (foo (32767, 0x8000) != 1073709056)
22 if (bar (0xffff, -2) != -131070)
24 if (bar (0xffff, 2) != 131070)
26 if (bar (0x8000, -32768) != -1073741824)
28 if (bar (0x8000, 32767) != 1073709056)