[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-655.cs
blobe7fc496e30cd906bc867f6389298d203e349c8a1
1 public class D
3 byte v;
5 byte this [int idx] {
6 get {
7 return v;
9 set {
10 v = value;
14 public static int Main ()
16 D d = new D ();
17 byte b = 1;
18 d [0] += 1;
19 d [0] += b;
20 if (d [0] != 2)
21 return 1;
23 return 0;