blob: 9c06ebb0808b6b63ae34822534b9a52b455d9165 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/lefthandsideexpression-logical-and-assignment-assignmentexpression-2.case
// - src/assignment-target-type/invalid/parenthesized.template
/*---
description: Static Semantics AssignmentTargetType, Return invalid. (ParenthesizedExpression)
esid: sec-grouping-operator-static-semantics-assignmenttargettype
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
ParenthesizedExpression: (Expression)
Return AssignmentTargetType of Expression.
LeftHandSideExpression &&= AssignmentExpression
Static Semantics AssignmentTargetType, Return invalid.
---*/
$DONOTEVALUATE();
function _() {
((x &&= true)) = 1;
}