js/src/tests/test262/ch07/7.9/S7.9_A6.3_T7.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/tests/test262/ch07/7.9/S7.9_A6.3_T7.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +// Copyright 2009 the Sputnik authors.  All rights reserved.
     1.5 +// This code is governed by the BSD license found in the LICENSE file.
     1.6 +
     1.7 +/**
     1.8 + * Check For Statement for automatic semicolon insertion.
     1.9 + * If automatic insertion semicolon would become one of the two semicolons in the header of a For Statement.
    1.10 + * Don`t use semicolons
    1.11 + *
    1.12 + * @path ch07/7.9/S7.9_A6.3_T7.js
    1.13 + * @description For header is (\n false \n false \n false \n)
    1.14 + * @negative
    1.15 + */
    1.16 +
    1.17 +//CHECK#1
    1.18 +for(
    1.19 +    false
    1.20 +    false
    1.21 +    false
    1.22 +) {
    1.23 +  break;
    1.24 +}
    1.25 +

mercurial