blob: 3c22d22a740e2861433b2537f32d4e379b9e96d6 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/logicalandexpression-logical-and-bitwiseorexpression-1.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.
LogicalANDExpression: LogicalANDExpression && BitwiseORExpression
Static Semantics AssignmentTargetType, Return invalid.
---*/
$DONOTEVALUATE();
function _() {
(1 && 2) = 1;
}