Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / generic-static-methods.2.cs
1 using System;
2
3 public class Gen<T> {
4     public static T [] method<S> () {
5         return new T [3];
6     }
7 }
8
9 public class main {
10     public static int Main () {
11         if (Gen<object>.method<string> ().GetType () != typeof (object []))
12             return 1;
13         return 0;
14     }
15 }