bring Mono Security to monotouch
[mcs.git] / tests / gtest-173.cs
blob0fdf185734f90793abbf7c4ed1027f36315010a8
1 class List <t> {
2 public void foo <b> (List <t> x) {
3 System.Console.WriteLine ("{0} - {1}", typeof (t), x.GetType ());
7 class C {}
8 class D {}
11 class M {
12 static void Main () {
13 List <D> x = new List<D> ();
14 x.foo <C> (x);
15 List <string> y = new List<string> ();
16 y.foo <C> (y);