blob: b74e5e5c9b28efa8cf1e2a5fbb364d6c25a5870b [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
import("./resources/module-namespace-access-transitive-exports.js").then((ns) => {
for (var i = 0; i < 1e6; ++i) {
shouldBe(ns.test, 42);
shouldBe(ns.cocoa(), 42);
}
});
drainMicrotasks();