diff options
Diffstat (limited to 'js/src/jit-test/tests/promise/bug-1545369.js')
-rw-r--r-- | js/src/jit-test/tests/promise/bug-1545369.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/promise/bug-1545369.js b/js/src/jit-test/tests/promise/bug-1545369.js new file mode 100644 index 0000000000..cb2adb5da3 --- /dev/null +++ b/js/src/jit-test/tests/promise/bug-1545369.js @@ -0,0 +1,9 @@ +// |jit-test| --no-cgc; allow-oom + +async function f(x) { + await await x; +}; +for (let i = 0; i < 800; ++i) { + f(); +} +gcparam("maxBytes", gcparam("gcBytes")); |