[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / gtest-630.cs
1 public interface IA
2 {
3         int Foo (int x = 0);
4 }
5
6 public class A : IA
7 {
8         public int Foo (int x)
9         {
10                 return x;
11         }
12
13         private static int Bar<T> (T x) where T : A, IA
14         {
15                 return x.Foo ();
16         }
17
18         public static int Main ()
19         {
20                 if (Bar (new A ()) != 0)
21                         return 1;
22
23                 return 0;
24         }
25 }