* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / ilasm / errors / err-pinvoke-a.il
1 // Test for a pinvoke method with a body.
2
3 .assembly extern mscorlib { }
4 .assembly 'err-pinvoke-a' { }
5
6
7 .class public T {
8
9         .method public static pinvokeimpl ("test-pinvoke" as "ret_one" cdecl)
10                 int32 RetOne () cil managed 
11         { 
12                 ret 
13         }
14
15         .method public static int32 test ()
16         {
17                 .entrypoint
18
19                 ret
20         }
21
22 }
23