diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/gc/bug-1261329.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/bug-1261329.js b/js/src/jit-test/tests/gc/bug-1261329.js new file mode 100644 index 0000000000..afa1db2c3d --- /dev/null +++ b/js/src/jit-test/tests/gc/bug-1261329.js @@ -0,0 +1,9 @@ +// |jit-test| skip-if: !('oomTest' in this) + +print = function() {} +function k() { return dissrc(print); } +function j() { return k(); } +function h() { return j(); } +function f() { return h(); } +f(); +oomTest(() => f()) |