- When calculating char positions only add in the line break
[mono-project.git] / mcs / tests / test-108.cs
blob2edc56d94574748dc605a3868aa5cd8b27a49cf7
1 class X {
3 static int Main ()
5 int i = 0;
7 if (false){
8 i = 1;
9 return 1;
12 if (true)
13 i = 2;
14 else
15 i = 3;
17 if (i != 2)
18 return 5;
20 while (true){
21 i++;
22 if (i == 10)
23 break;
26 while (false){
27 i--;
28 return 3;
31 if (i != 10)
32 return 2;
34 do {
35 if (i++ == 20)
36 break;
37 } while (true);
39 if (i != 21)
40 return 4;
42 return 0;