Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-8.cs
1 class X {
2         public static int Main (string [] args)
3         {
4                 int a, b, c, d;
5
6                 a = b = 10;
7                 c = d = 14;
8
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;
17
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;
26                                 
27                 return 0;
28         }
29 }