[configure] Add new target.
[mono-project.git] / mcs / tests / gtest-173.cs
blobebae0d8f1a7fd1584492817dfe9458940551d1d5
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 public 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);