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