summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug490191.js
blob: d198832cbd51161868f3e11548bb4617660639e0 (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() { return ({\
        x: function(){ return w }()\
      }); })\
    });\
  ");
}
(f())();
(new Function("eval(\"y\")"))();