Align libgc vcxproj with makefile.
[mono.git] / mono / tests / generic-delegate-ctor.2.cs
1 using System;
2
3 public delegate R Function<R> ();
4
5 public struct GenStruct<T> {}
6
7 public class Gen<T> {
8         public GenStruct<T> delFunc () {
9                 return default(GenStruct<T>);
10         }
11
12         public object makeDel () {
13                 return new Function<GenStruct<T>> (delFunc);
14         }
15 }
16
17 public class main {
18         public static int Main () {
19                 Gen<string> gs = new Gen<string> ();
20                 object del = gs.makeDel ();
21
22                 return 0;
23         }
24 }