[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-anon-143.cs
blobcf3dcaf93cc718f890f67b3af3552aeebc2e2ffa
1 using System;
3 public class TestC
5 public static int Main ()
7 if (Test<string> () () != typeof (string)) return 1;
8 if (Test<int> () () != typeof (int)) return 2;
9 Console.WriteLine ("ok");
10 return 0;
13 public static Func<Type> Test<T> ()
15 return () => typeof (T);