summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug488421.js
blob: 1fcad0c186bb2d68a57c7e5b3fb0bb53b501f35f (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 ()x)");
}
f("");
try {
((function(){ throw y })())
} catch(exc1) {}