blob: 6f3cad899219902f3cfffcbf50bac03e4836c21c [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/assignment-target-type/additiveexpression-plus-multiplicativeexpression-0.case
// - src/assignment-target-type/invalid/direct.template
/*---
description: Static Semantics AssignmentTargetType, Return invalid. (Direct assignment)
flags: [generated]
negative:
phase: parse
type: SyntaxError
info: |
Direct assignment
AdditiveExpression + MultiplicativeExpression
Static Semantics AssignmentTargetType, Return invalid.
---*/
$DONOTEVALUATE();
function _() {
x + y = 1;
}