summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1764737.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/parser/bug-1764737.js')
-rw-r--r--js/src/jit-test/tests/parser/bug-1764737.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/parser/bug-1764737.js b/js/src/jit-test/tests/parser/bug-1764737.js
new file mode 100644
index 0000000000..0fcc39e276
--- /dev/null
+++ b/js/src/jit-test/tests/parser/bug-1764737.js
@@ -0,0 +1,9 @@
+// |jit-test| skip-if: !('oomTest' in this); --fuzzing-safe; --ion-offthread-compile=off
+
+function r(src) {
+ oomTest(function() {
+ parseModule(src);
+ });
+}
+r("export * from 'y';");
+r("export * from 'y';");