Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-234.cs
1 public interface IFoo { }
2 public interface IFoo<T> : IFoo { }
3
4 public class Test
5 {
6         public IFoo GetFoo () { return GetFooGeneric<object> (); }
7
8         public IFoo<T> GetFooGeneric<T> () { return default (IFoo<T>); }
9
10         public static void Main ()
11         {
12                 Test test = new Test ();
13                 test.GetFoo ();
14         }
15 }