mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
21 lines
249 B
C
21 lines
249 B
C
/* PR target/9348 */
|
|
|
|
#define u_l_l unsigned long long
|
|
#define l_l long long
|
|
|
|
l_l mpy_res;
|
|
|
|
u_l_l mpy (long a, long b)
|
|
{
|
|
return (u_l_l) a * (u_l_l) b;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
mpy_res = mpy(1,-1);
|
|
if (mpy_res != -1LL)
|
|
abort ();
|
|
return 0;
|
|
}
|
|
|