[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / gtest-630.cs
bloba64851f0a2ab9e33c0522316a3137166f70ff57a
1 public interface IA
3 int Foo (int x = 0);
6 public class A : IA
8 public int Foo (int x)
10 return x;
13 private static int Bar<T> (T x) where T : A, IA
15 return x.Foo ();
18 public static int Main ()
20 if (Bar (new A ()) != 0)
21 return 1;
23 return 0;