summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug593611.js
blob: 6106c0f5ce12951c0da360fea2bc43b840ecbbb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
var global = this;
(function() {
  global.__defineGetter__("x", /x/.constructor)
})()
for (var a = 0; a < 4; ++a) {
  if (a % 4 == 1) {
    gc()
  } else {
    print(x);
  }
}