1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// |jit-test| exitstatus: 6 var g = true setInterruptCallback(function() { print(getBacktrace({args: true})); }); function foo(bt, x=3, y = eval("g")) { if (g) { g = false interruptIf(true); foo(false); } (function() { n = bt;}); } foo(false);