do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-622.cs
1 struct A
2 {
3         public A (int a)
4         {
5         }
6 }
7
8 class B
9 {
10         public B (int a)
11         {
12         }
13 }
14
15 class X {
16         static void Foo (out A value)
17         {
18                 value = new A (1);
19         }
20         
21         static void Foo (out object value)
22         {
23                 value = new B (1);
24         }
25         
26         static int Main ()
27         {
28                 A o;
29                 Foo (out o);
30
31                 object b;
32                 Foo (out b);
33
34                 return 0;
35         }
36 }