Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / calliTest.il
1 //Tests ldftn and calli
2 //Prints PASS if passed, nothing if failed
3
4 .assembly extern mscorlib{}
5 .assembly someTest{}
6 .module someTest
7
8 .class private auto ansi someTest
9        extends [mscorlib]System.Object {
10
11   .method public static void  go() cil managed {
12     .entrypoint
13
14         ldstr "PASS"
15         ldftn void [mscorlib]System.Console::WriteLine(string)
16         calli void (string)
17         ret
18   }
19
20
21