do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-655.cs
1 public class D
2 {
3         byte v;
4
5         byte this [int idx] {
6                 get {
7                         return v;
8                 }
9                 set {
10                         v = value;
11                 }
12         }
13
14         static int Main ()
15         {
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;
22
23                 return 0;
24         }
25 }