Sign in
cobalt
/
cobalt
/
da5c4f09a295755b8923113581bebdc12153e6dd
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testUndemotableBinaryOp.js
blob: 6fd79cda0e53fd1dec602b1e7fc3e7c538849dd8 [
file
] [
log
] [
blame
]
function
testUndemotableBinaryOp
()
{
var
out
=
[];
for
(
let j
=
0
;
j
<
5
;
++
j
)
{
out
.
push
(
6
-
((
void
0
)
^
0x80000005
));
}
return
out
.
join
(
","
);
}
assertEq
(
testUndemotableBinaryOp
(),
"2147483649,2147483649,2147483649,2147483649,2147483649"
);