summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-findObjects-11.js
blob: f0330447f0bf92b35e1c420860600ace73746df5 (plain)
1
2
3
4
5
6
7
// This shouldn't segfault.

var g = newGlobal();
g.eval(`function f() { return function() {
  function g() {}
}; }`);
new Debugger(g).findObjects();