Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-594.cs
1 using System;
2
3 public interface IFoo<U>
4 {
5         void Foo<T> () where T : C;
6 }
7
8 public class C : IA
9 {
10 }
11
12 public interface IA
13 {
14 }
15
16 class Y : IFoo<int>
17 {
18         public void Foo<T> () where T : C
19         {
20         }
21 }
22
23 class X
24 {
25         public static void Main()
26         {
27                 new Y ();
28         }
29 }