Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-26.il « tests « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 61325fda766645e6c3dad690f7f85938b21b9fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33


.assembly extern mscorlib {

}


.class public Test {

       .method public static void main ()
       {
                .entrypoint
                
                try_begin:
                        ldstr "BEGIN TRY"
                        call void [mscorlib]System.Console::WriteLine (string)
                        
                	leave try_end
                exc_handler:
                        ldstr "IN HANDLER"
                        call void [mscorlib]System.Console::WriteLine (string)

                        leave try_end
                try_end:
                        ldstr "END TRY"
                        call void [mscorlib]System.Console::WriteLine (string)
                        
                .try try_begin to try_end catch [mscorlib]System.Exception handler exc_handler to try_end

       }

}