1 //Tests ldftn and calli with generic return signature
3 .assembly extern mscorlib{}
7 .class public auto ansi beforefieldinit Test`1<T>
8 extends [mscorlib]System.Object
11 .method public hidebysig
12 static default void test (native int ptr) cil managed
17 call void class [mscorlib]System.Console::WriteLine(int32)
22 .class private auto ansi someTest
23 extends [mscorlib]System.Object {
25 .method public static void go() cil managed {
28 ldftn int32 [mscorlib]System.Environment::get_ProcessorCount()
29 call void class Test`1<int32>::test(native int)