blob: 681d24103fc74a1a3772e7cb2c4499729ee52d9c [file] [log] [blame] [edit]
// Copyright (C) 2017 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: >
It is a Syntax Error if LeftHandSideExpression is neither an
ObjectLiteral nor an ArrayLiteral and
IsValidSimpleAssignmentTarget(LeftHandSideExpression) is
false.
template: error-async-function-syntax
es6id: 12.14.5.1
flags: [onlyStrict]
negative:
phase: parse
type: SyntaxError
---*/
//- setup
$DONOTEVALUATE();
//- elems
[arguments]
//- vals
[]