2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / verifier / invalid_fallthru_into_handler_block.il
blob83408fea786a80ce9204bcff1351c30f7807f085
2 //This scenario is not quite possible, as the only block before the handler is the filter block
3 //So we test a filter without endfilter at end
4 .assembly 'invalid_fallthru_into_handler_block'
6   .hash algorithm 0x00008004
7   .ver  0:0:0:0
10 .method public static int32 Main() cil managed
12         .entrypoint
13         .maxstack 8
14         .locals init (int32 V0)
15         
17 BB_00:
18                 newobj instance void class [mscorlib]System.Exception::.ctor()
19                 throw
20                 leave END
21 BB_01:
23 BB_02:
24                 pop
25                 nop
26                 nop
27 BB_03:
30 BB_04:
31                 nop
32                 nop
33                 leave END
34 BB_05:
36 END:
37         ldc.i4.0
38         ret
40 .try BB_00 to BB_01 filter BB_02 handler BB_04 to BB_05