summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug905999.js
blob: b8f33d8fbb1cbf77bba0a5da22bb9d1b09d9428a (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| --ion-eager
function reportCompare (expected) {
  typeof expected;
}
var expect = 'No Crash';
var array = new Array(10);
for (var i = 0; i != array.length; ++i) {
  gc();
}
var expect = array.length;
reportCompare(expect);