[runtime] Coverage profiler fixes (#5698)
[mono.git] / mcs / tests / test-anon-143.cs
1 using System;
2
3 public class TestC
4 {
5         public static int Main ()
6         {
7                 if (Test<string> () () != typeof (string)) return 1;
8                 if (Test<int> () () != typeof (int)) return 2;
9                 Console.WriteLine ("ok");
10                 return 0;
11         }
12
13         public static Func<Type> Test<T> ()
14         {
15                 return () => typeof (T);
16         }
17 }