Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-609.cs
1 class X<T, TBase> where T : TBase
2 {
3         static TBase tb;
4
5         public static void X2<T2> (T2 arg) where T2 : T
6         {
7                 tb = arg;
8                 tb = (T2)tb;
9         }
10 }
11
12 class Z
13 {
14         public static void Main ()
15         {
16                 X<string, object>.X2 ("");
17         }
18 }