blob: c58f4fff8c90a6b6e7bb0cf0a9b73803fbeb4556 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/plus-plus-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;
}