summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug-1649234-2.js
blob: c5cbfc5e468a01f28f821f8d05c145d070ffb2e4 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| exitstatus: 6;

setInterruptCallback(() => false);
0n == {
  valueOf() {
    interruptIf(true);
    for (;;) {}  // block until interrupt callback, which terminates the script
  }
};