summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1263881-1.js
blob: 5b9cf622c3b21192dee176d4b3e2d86052d7e95c (plain)
1
2
3
4
5
6
7
8
9
10
let moduleRepo = {};
setModuleResolveHook(function(module, specifier) {
        return moduleRepo[specifier];
});
moduleRepo['a'] = parseModule("export let a = 1;");
let s = "";
let max = 65536;
for (let i = 0; i < max; i++)
  s += "import * as ns" + i + " from 'a';\n";
parseModule(s);