blob: 3130b6fcd399744adc62be5d437d072f15d56c89 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/shiftexpression-bitwise-right-additiveexpression-0.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.
ShiftExpression >> AdditiveExpression
Static Semantics AssignmentTargetType, Return invalid.
---*/
$DONOTEVALUATE();
function _() {
(x >> y) = 1;
}