Warnings cleanup
[mcs.git] / tests / test-8.cs
blob5de9804f3417362b665fc6fd160f42b202adefa3
1 class X {
2 static public int Main (string [] args)
4 int a, b, c, d;
6 a = b = 10;
7 c = d = 14;
9 if ((a + b) != 20)
10 return 1;
11 if ((a + d) != 24)
12 return 2;
13 if ((c + d) != 28)
14 return 3;
15 if ((b + c) != 24)
16 return 4;
18 if (a++ != 10)
19 return 5;
20 if (++a != 12)
21 return 6;
22 if (b-- != 10)
23 return 7;
24 if (--b != 8)
25 return 8;
27 return 0;