line-terminator-line-separator.js (498B)
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.1_A1.1_T3 8 esid: postfix-increment-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)