74c7dba833d76bdc810ee4d84b644e56400239c8
[platform/framework/web/crosswalk-tizen.git] /
1 // no parens and asi
2 while(cur=items[i++]) log(cur.name);
3
4     // wrong indent and line breaks
5    while(
6        ++n <
7        10
8    ) {
9             log(n)                
10    }
11
12     // no body
13   while (   foo()  );
14
15 // break before open curly brace and lots of spaces
16 while  (    true   )
17 {
18 // comment inside
19                     foo();       
20 }
21
22 while (n--){
23 // nested
24 while(i++){
25 // moar nested
26 while(z++<0) {
27     // inception
28     foo();
29     while(j++) {
30          // deeper
31     bar();
32     }
33 }
34 }
35 }
36
37
38 // no body #2
39 while (true )
40   ;
41