blob: 6c801fdc30f1cd589f9db85f87c3f57428a02f4e [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/unaryexpression-delete-unaryexpression.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.
UnaryExpression: delete UnaryExpression
Static Semantics AssignmentTargetType, Return invalid
---*/
$DONOTEVALUATE();
function _() {
(delete x.y) = 1;
}