[coop] Remove try { ... } finally { ... } from managed-to-native wrapper
[mono.git] / mcs / ilasm / tests / test-emitbyte.il
1 /*
2 This test try to use .emitbyte to generate the return value,
3 the program should return 1 on sucess
4 */
5 .assembly extern mscorlib
6 {
7   .ver 2:0:0:0
8   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
9 }
10 .assembly 'test-emitbyte'
11 {
12   .hash algorithm 0x00008004
13   .ver  0:0:0:0
14 }
15 .module ld_type.exe
16
17 .class public auto ansi beforefieldinit Driver
18         extends [mscorlib]System.Object
19 {
20
21         .method public static int32 Main ()
22         {
23                 .entrypoint
24                 .maxstack 2
25                 .locals init (int32 bla)
26                 nop
27                 .emitbyte 0x17 //equivalent to the ldc.i4.1 mnemonic
28                 ret
29
30         }
31 }
32
33