Merge pull request #4431 from vkargov/vk-leaking-points
[mono.git] / mcs / tests / gtest-069.cs
1 public interface IFoo
2 {
3         int GetHashCode ();
4 }
5
6 public interface IFoo<T>
7 {
8         int GetHashCode ();
9 }
10
11 public class Test<T>
12 {
13         public int Foo (IFoo<T> foo)
14         {
15                 return foo.GetHashCode ();
16         }
17
18         public int Foo (IFoo foo)
19         {
20                 return foo.GetHashCode ();
21         }
22 }
23
24 class X
25 {
26         public static void Main ()
27         { }
28 }