blob: d2beeca98216b8ede1b7bdf0b59c5967b65345fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// |jit-test| exitstatus: 6; skip-if: getBuildConfiguration('pbl')
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);
|