2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / tests / test-655.cs
blob30be98ddbfb7d53f6811fc7fb729bd9b5c2b0cb7
1 public class D
3 byte v;
5 byte this [int idx] {
6 get {
7 return v;
9 set {
10 v = value;
14 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;