Debian Codegraph @

js/src/tests/test262/language/expressions/postfix-increment/line-terminator-line-feed.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.1_A1.1_T1
8 esid: postfix-increment-operator
9 description: Checking Line Feed
10 negative:
11 phase: parse
12 type: SyntaxError
13 ---*/
14
15 $DONOTEVALUATE();
16
17 x
18 ++;