do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-anon-42.cs
1 using System;
2
3 delegate void Simple ();
4
5 delegate Simple Foo ();
6
7 class X
8 {
9         public static void Hello (long k)
10         { }
11
12         public static void Test (int i)
13         {
14                 Hello (3);
15                 Foo foo = delegate {
16                         Hello (4);
17                         return delegate {
18                                 Hello (5);
19                         };
20                 };
21                 Simple simple = foo ();
22                 simple ();
23         }
24
25         static void Main ()
26         {
27                 X x = new X ();
28                 X.Test (3);
29         }
30 }