blob: 4221fa74922e6922c8d8e0c7eba3dd767d6632a5 [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-assignment-operators-static-semantics-early-errors
info: |
It is an early Syntax Error if AssignmentTargetType of
LeftHandSideExpression is invalid or strict.
description: Compound subtraction assignment with non-simple target
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
1 -= 1;