Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testMulOverflow.js
blob: 5d7a1339fcb356e02b5748db107cd4497adcc2ba [
file
] [
log
] [
blame
]
function
testMulOverflow
()
{
var
a
=
[];
for
(
let j
=
0
;
j
<
5
;++
j
)
a
.
push
(
0
|
((
0x60000009
)
*
0x60000009
));
return
a
.
join
(
","
);
}
assertEq
(
testMulOverflow
(),
"-1073741824,-1073741824,-1073741824,-1073741824,-1073741824"
);