summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1332773.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/gc/bug-1332773.js')
-rw-r--r--js/src/jit-test/tests/gc/bug-1332773.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/bug-1332773.js b/js/src/jit-test/tests/gc/bug-1332773.js
new file mode 100644
index 0000000000..77445bc2eb
--- /dev/null
+++ b/js/src/jit-test/tests/gc/bug-1332773.js
@@ -0,0 +1,9 @@
+// |jit-test| skip-if: helperThreadCount() === 0
+
+evalInWorker(`
+var gTestcases = new Array();
+typeof document != "object" || !document.location.href.match(/jsreftest.html/);
+gczeal(4, 10);
+f = ([a = class target extends b {}, b] = [void 0]) => {};
+f()
+`)