[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-071.cs
blob8352a2b2862c60950b581f89d3b48930c6eebd77
1 using System;
3 class Foo<T>
5 public T Test<U> (U u)
6 where U : T
8 return u;
12 class X
14 public static void Main ()
16 Foo<X> foo = new Foo<X> ();
18 Y y = new Y ();
19 X x = foo.Test<Y> (y);
23 class Y : X