copied mono-api-diff.cs from mono-2-2 branch so new patch can be applied and history...
[mono.git] / mono / tests / verifier / valid_rethrow_doesnt_fallthrough.il
1 .assembly extern mscorlib
2 {
3   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .z\V.4..
4   .ver 2:0:0:0
5 }
6
7
8 .assembly 'test-32'
9 {
10   .ver 0:0:0:0
11 }
12 .module 'test-32'
13
14 .class public auto ansi beforefieldinit Driver extends [mscorlib]System.Object
15 {
16         .method public static void Test ()
17         {
18                 .maxstack 3
19                 .locals init (int32 V_0)
20
21                 .try
22                 {
23                         leave LABEL_0
24                 }
25                 catch [mscorlib]System.Object
26                 {
27                         pop
28
29                         .try
30                         {
31                                 br.s LABEL_1
32 LABEL_2:
33                                 nop
34 LABEL_1:
35                                 ldloc.0
36                                 brtrue.s LABEL_2
37                                 leave.s LABEL_3
38                         }
39                         finally
40                         {
41                                 endfinally
42                         }
43 LABEL_3:
44                         rethrow
45                 }
46 LABEL_0:
47                 nop
48                 ret
49         }
50
51         .method public hidebysig static int32  Main() cil managed
52         {
53                 .entrypoint
54                 .maxstack  8
55                 .locals init ()
56                 call void Driver::Test ()
57                 ldc.i4.0
58                 ret
59         }
60
61 }