Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/expressions/async-generator/early-errors-expression-binding-identifier-arguments.js

raw
1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Caitlin Potter <[email protected]>
6 esid: sec-identifiers-static-semantics-early-errors
7 description: >
8 If the source code matching this production is strict code, it is a
9 Syntax Error if BindingIdentifier is the IdentifierName arguments.
10 negative:
11 phase: parse
12 type: SyntaxError
13 flags: [onlyStrict]
14 features: [async-iteration]
15 ---*/
16
17 throw "Test262: This statement should not be evaluated.";
18
19 (async function* arguments() { });