Debian Codegraph @

js/src/tests/test262/language/expressions/postfix-decrement/line-terminator-line-separator.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright 2009 the Sputnik authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 info: Line Terminator between LeftHandSideExpression and "--" is not allowed
7 es5id: 11.3.2_A1.1_T3
8 esid: sec-postfix-decrement-operator
9 description: Checking Line separator
10 negative:
11 phase: parse
12 type: SyntaxError
13 ---*/
14
15 $DONOTEVALUATE();
16
17 x
--;
18 // The preceding line contains an unprintable LINE SEPARATOR character (U+2028)