[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / gtest-096.cs
blob12407dc5dbadf9e7b7fd0a77dc4798eec9e4c796
1 using System;
3 class Foo<T>
4 { }
6 class Test
8 static void Hello<T> (Foo<T>[] foo, int i)
10 Foo<T> element = foo [0];
11 Console.WriteLine (element);
12 if (i > 0)
13 Hello<T> (foo, i - 1);
16 public static void Quicksort<U> (Foo<U>[] arr)
18 Hello<U> (arr, 1);
21 public static void Main ()
23 Foo<int>[] foo = new Foo<int> [1];
24 foo [0] = new Foo<int> ();
25 Quicksort (foo);