summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/modules/bug1210391.js
blob: 78874a3c1f601a57d19a674bf118f3562e360ceb (plain)
1
2
3
4
5
6
7
8
load(libdir + "dummyModuleResolveHook.js");
let a = moduleRepo['a'] = parseModule("export var a = 1; export var b = 2;");
let b = moduleRepo['b'] = parseModule("export var b = 3; export var c = 4;");
let c = moduleRepo['c'] = parseModule("export * from 'a'; export * from 'b';");
let d = moduleRepo['d'] = parseModule("import { a } from 'c'; a;");
d.declarationInstantiation();
d.evaluation();