test262/src/assignment-target-type/shiftexpression-bitwise-left-additiveexpression-1.case
2020-09-17 16:23:26 -04:00

23 lines
503 B
Plaintext

// Copyright (C) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-bitwise-shift-operators-static-semantics-assignmenttargettype
desc: >
Static Semantics AssignmentTargetType, Return invalid.
info: |
ShiftExpression << AdditiveExpression
Static Semantics AssignmentTargetType, Return invalid.
template: invalid
negative:
phase: parse
type: SyntaxError
---*/
//- assignmenttarget
1 << 2
//- operator
=
//- value
1