Debian Codegraph @

js/src/tests/test262/language/module-code/instn-resolve-err-syntax-1.js

raw
1 // |reftest| error:SyntaxError module
2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 description: Requested modules that produce an early SyntaxError
6 esid: sec-moduledeclarationinstantiation
7 info: |
8 [...]
9 8. For each String required that is an element of
10 module.[[RequestedModules]] do,
11 [...]
12 b. Let requiredModule be ? HostResolveImportedModule(module, required).
13 [...]
14 negative:
15 phase: resolution
16 type: SyntaxError
17 flags: [module]
18 ---*/
19
20 $DONOTEVALUATE();
21
22 import './instn-resolve-err-syntax-1_FIXTURE.js';