Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
multdi-1.c
blob: 1ffcc578e516617c0e73000c13aab120c7b51b80 [
file
] [
log
] [
blame
]
/* 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
;
}