Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

34 lines
836 B
Plaintext

.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
}
}