2 // Test pinvoking unmanaged code
5 // Jackson Harper (jackson@ximian.com)
7 // (C) 2003 Ximian Inc, (http://www.ximian.com)
10 .assembly extern mscorlib { }
11 .assembly 'test-pinvoke-a' { }
16 .method public static pinvokeimpl ("test-pinvoke" as "ret_one" cdecl)
17 int32 RetOne () cil managed { }
19 .method public static int32 test ()
23 call int32 T::RetOne ()
28 call void [mscorlib]System.Console::WriteLine (string)
34 call void [mscorlib]System.Console::WriteLine (string)