[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / test-108.cs
blob291843bc309e4ec19c4200d3c6d4b42fbe03382e
1 class X {
3 public 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;