[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-anon-25.cs
blobac399d804d2759fae15e3d2485db505619d22630
1 using System;
3 delegate int D (int arg);
5 class X {
7 public static int Main ()
9 D x = T (1);
11 int v = x (10);
12 Console.WriteLine ("Should be 11={0}", v);
13 return v == 11 ? 0 : 1;
16 static D T (int a)
18 D d = delegate (int arg) {
19 return arg + a;
22 return d;