summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1685684.js
blob: 06b37a852cf5a39ca858ea3bd0116f3217586c84 (plain)
1
2
3
4
5
6
7
8
let g = newGlobal({immutablePrototype: false});
g.__proto__ = {};
g.evaluate(`(function() {
  for (var i = 0; i < 5; i++) {
    d = eval('1');
    assertEq(d, 1);
  }
})()`);