| // This file was procedurally generated from the following sources: |
| // - src/assignment-target-type/lefthandsideexpression-plus-plus.case |
| // - src/assignment-target-type/invalid/direct.template |
| /*--- |
| description: It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple. (Direct assignment) |
| flags: [generated] |
| negative: |
| phase: parse |
| type: SyntaxError |
| info: | |
| Direct assignment |
| |
| UpdateExpression: LeftHandSideExpression ++ |
| It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is not simple. |
| |
| ---*/ |
| |
| $DONOTEVALUATE(); |
| |
| function _() { |
| x++ = 1; |
| } |
| |