2003-07-13 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / tests / test-200.cs
1 using System;
2
3 class X
4 {
5         public static int Main ()
6         {
7                 int x = 7;
8                 int y = 2;
9
10                 x = (y += 3) + 10;
11                 if (y != 5)
12                         return 1;
13                 if (x != 15)
14                         return 2;
15
16                 x += 9;
17                 if (x != 24)
18                         return 3;
19
20                 byte c = 3;
21                 byte d = 5;
22                 x = d ^= c;
23                 Console.WriteLine (x);
24
25                 return 0;
26         }
27 }