mirror of https://github.com/tc39/test262.git
13 lines
428 B
JavaScript
13 lines
428 B
JavaScript
// +-----------------+
|
|
// | |
|
|
// v |
|
|
// (A) -> (C) -> (D) *+-> [E]
|
|
// * ^
|
|
// | |
|
|
// v @
|
|
// (B)
|
|
import { shouldThrow } from "./resources/assert.js"
|
|
shouldThrow(() => {
|
|
loadModule("./fallback-ambiguous/main.js");
|
|
}, `SyntaxError: Indirectly exported binding name 'A' cannot be resolved due to ambiguous multiple bindings.`);
|