summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/basic/bug1301797.js
blob: 0822943e38445780807fd601696892880d7f86cb (plain)
1
2
3
4
var arr = new Uint8ClampedArray(10*1024*1024);
var sum = 0;
for (var i = 0; i < 10000; i++)
    sum += arr[i];