summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug490191.js
blob: b56ee11db5e710796ea70a6dd8a5673f98eb5f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Binary: cache/js-dbg-64-daefd30072a6-linux
// Flags:
//
function f(param) {
  var w;
  return eval("\
    (function(){\
      this.__defineGetter__(\"y\", function()({\
        x: function(){ return w }()\
      }))\
    });\
  ");
}
(f())();
(new Function("eval(\"y\")"))();