js/src/tests/test262/ch12/12.2/S12.2_A8_T4.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:e43edbb004c3
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 * Only AssignmentExpression is admitted when variable is initialized
6 *
7 * @path ch12/12.2/S12.2_A8_T4.js
8 * @description Checking if execution of "var x++" fails
9 * @negative
10 */
11
12 //////////////////////////////////////////////////////////////////////////////
13 //CHECK#1
14 var x++;
15 //
16 //////////////////////////////////////////////////////////////////////////////
17

mercurial