blob: a960e50d717aef6cd7b551b7aa43df3a033ee916 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/minus-minus-unaryexpression.case
// - src/assignment-target-type/invalid/parenthesized.template
/*---
description: It is an early Syntax Error if AssignmentTargetType of UnaryExpression is not simple. (ParenthesizedExpression)
esid: sec-grouping-operator-static-semantics-assignmenttargettype
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
ParenthesizedExpression: (Expression)
Return AssignmentTargetType of Expression.
UpdateExpression: --UnaryExpression
It is an early Syntax Error if AssignmentTargetType of UnaryExpression is not simple.
---*/
$DONOTEVALUATE();
function _() {
(--x) = 1;
}