Debian Codegraph @

js/src/tests/test262/language/expressions/dynamic-import/syntax/invalid/top-level-import-call-unknown.js

raw
1 // |reftest| skip error:SyntaxError -- source-phase-imports is not supported
2 // This file was procedurally generated from the following sources:
3 // - src/dynamic-import/import-call-unknown.case
4 // - src/dynamic-import/syntax/invalid/top-level.template
5 /*---
6 description: It's a SyntaxError on unknown import call (top level syntax)
7 esid: sec-import-call-runtime-semantics-evaluation
8 features: [source-phase-imports, dynamic-import]
9 flags: [generated]
10 negative:
11 phase: parse
12 type: SyntaxError
13 info: |
14 ImportCall :
15 import( AssignmentExpression )
16
17
18 ImportCall[Yield, Await] :
19 import ( AssignmentExpression[+In, ?Yield, ?Await] )
20 import . source ( AssignmentExpression[+In, ?Yield, ?Await] )
21
22 ---*/
23
24 $DONOTEVALUATE();
25
26 import.UNKNOWN('./empty_FIXTURE.js');
27
28 /* The params region intentionally empty */