test262/test/language/expressions/dynamic-import/syntax/invalid/top-level-not-extensible-no...

28 lines
654 B
JavaScript

// This file was procedurally generated from the following sources:
// - src/dynamic-import/not-extensible-no-trailing-comma.case
// - src/dynamic-import/syntax/invalid/top-level.template
/*---
description: ImportCall is not extensible - trailing comma (top level syntax)
esid: sec-import-call-runtime-semantics-evaluation
features: [dynamic-import]
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
ImportCall :
import( AssignmentExpression )
ImportCall :
import( AssignmentExpression[+In, ?Yield] )
Forbidden Extensions
- ImportCall must not be extended.
---*/
$DONOTEVALUATE();
import('',);