summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug488421.js
blob: c81684420a04705b525f0be8e2e38ffe27f7466e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Binary: cache/js-dbg-64-862693caa320-linux
// Flags:
//
function f(foo)
{
  var x;
  eval("this.__defineGetter__(\"y\", function () { return x; })");
}
f("");
try {
((function(){ throw y })())
} catch(exc1) {}