Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-559.cs
1 interface I<T>
2 {
3 }
4
5 interface A<Source>
6 {
7         void Test<U> () where U : I<Source>;
8 }
9
10 struct B<TContext> : A<int>
11 {
12         public void Test<U2> () where U2 : I<int>
13         {
14         }
15 }
16
17 class C : I<int>
18 {
19         public static void Main ()
20         {
21                 new B<string> ().Test<C> ();
22         }
23 }