[runtime] Accomplish BITCODE build symbol sharing with only make (#3329)
[mono-project.git] / mono / tests / bug457574.il
blobf0dce3211534bea86cbf6b927d7d4e81fe6a369b
1 .assembly extern mscorlib
3 .ver 2:0:0:0
4 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
7 .assembly 'bug457574'
10 .hash algorithm 0x00008004
11 .ver  0:0:0:0
13 .module repro.exe
16 .class public auto ansi beforefieldinit bug457574_regression extends [mscorlib]System.Object
19         .method public static hidebysig default bool test_01 () cil managed 
20         {
21         .maxstack 6
22         .locals init (unsigned int32 V_0, unsigned int32 V_1)
24         ldc.i4.0
25         stloc.0 
27         ldloc.0 
28         switch (IL_0021, IL_0069)
29         br IL_0075
31 IL_0021:
32         br IL_0069
34 IL_0026:
35         ldloc.0
36         ldloc.1
37         ceq
38         brfalse IL_0051
40         br IL_0075
42 IL_0051:
43         ldloc.1
44         stloc.0
45         br IL_0077
47 IL_0069:
48         br IL_0026
50         ldc.i4.1
51         stloc.1
53 IL_0075:
54         ldc.i4.0 
55         ret
57 IL_0077:
58         ldc.i4.1 
59         ret 
60         }
62         .method public static hidebysig default void test_02 () cil managed 
63         {
65                 .maxstack 8
66                 .locals init (int32 V_0)
68                 ldloc.0
69                 switch(label_1, label_2)
70                 br end
71         label_1:
72                 br label_2
73         label_3:
74                 nop
75                 nop
76                 br end
77         label_2:
78                 br label_3
79                 nop
80                 nop
81         end:
82                 ret     
83         }
85 .method public static hidebysig default void Main () cil managed 
87         .entrypoint
88         .maxstack 8
90         call bool bug457574_regression::test_01 ()
91         pop
92         call void bug457574_regression::test_02 ()
93         ret