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.
5 description: ImportedBinding is a BindingIdentifier and cannot be "eval"
10 IdentifierName as ImportedBinding
15 12.1.1 Static Semantics : Early Errors
17 BindingIdentifier : Identifier
19 - It is a Syntax Error if the code matched by this production is contained
20 in strict mode code and the StringValue of Identifier is "arguments" or
30 // Create an appropriately-named ExportEntry in order to avoid false positives
31 // (e.g. cases where the implementation does not generate the expected early
32 // error but does produce a SyntaxError for unresolvable bindings).
36 import { eval } from './early-import-eval.js';