js/src/tests/test262/ch07/7.9/S7.9_A5.7_T1.js

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:4b990db4b936
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /**
5 * Since LineTerminator(LT) between Postfix Increment/Decrement Operator(I/DO) and operand is not allowed, two IO(just as two DO and their combination)
6 * between two references separated by [LT] after automatic semicolon insertion lead to syntax error
7 *
8 * @path ch07/7.9/S7.9_A5.7_T1.js
9 * @description Try use Variable1 \n ++ \n ++ \n Variable2 construction
10 * @negative
11 */
12
13 var x=0, y=0;
14 var z=
15 x
16 ++
17 ++
18 y
19

mercurial