summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/promise/bug-1545369.js
blob: cb2adb5da3df45690dc02e53edab344163137ac5 (plain)
1
2
3
4
5
6
7
8
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"));