[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-234.cs
blobd1f0d8857b62ed364b8afc92a2d0c760f05c608e
1 public interface IFoo { }
2 public interface IFoo<T> : IFoo { }
4 public class Test
6 public IFoo GetFoo () { return GetFooGeneric<object> (); }
8 public IFoo<T> GetFooGeneric<T> () { return default (IFoo<T>); }
10 public static void Main ()
12 Test test = new Test ();
13 test.GetFoo ();