summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBoxDoubleWithDoubleSizedInt.js
blob: 5327e56e5fd3fa5a8637ba43a5516c140a7c307b (plain)
1
2
3
4
5
6
7
8
9
10
function testBoxDoubleWithDoubleSizedInt()
{
  var i = 0;
  var a = new Array(3);

  while (i < a.length)
    a[i++] = 0x5a827999;
  return a.join(",");
}
assertEq(testBoxDoubleWithDoubleSizedInt(), "1518500249,1518500249,1518500249");