2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / ilasm / errors / err-pinvoke-a.il
blob2a6b13a418b35ade5f16fecc30a584b2b2fdd51f
1 // Test for a pinvoke method with a body.
3 .assembly extern mscorlib { }
4 .assembly 'err-pinvoke-a' { }
7 .class public T {
9         .method public static pinvokeimpl ("test-pinvoke" as "ret_one" cdecl)
10                 int32 RetOne () cil managed 
11         { 
12                 ret 
13         }
15         .method public static int32 test ()
16         {
17                 .entrypoint
19                 ret
20         }