summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug-1247934.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/modules/bug-1247934.js')
-rw-r--r--js/src/jit-test/tests/modules/bug-1247934.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/modules/bug-1247934.js b/js/src/jit-test/tests/modules/bug-1247934.js
new file mode 100644
index 0000000000..666607d1f5
--- /dev/null
+++ b/js/src/jit-test/tests/modules/bug-1247934.js
@@ -0,0 +1,5 @@
+setJitCompilerOption("ion.warmup.trigger", 50);
+s = "";
+for (i = 0; i < 1024; i++) s += "export let e" + i + "\n";
+registerModule('a', parseModule(s));
+parseModule("import * as ns from 'a'").declarationInstantiation();