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