2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / verifier / unverifiable_ptr_ldloc.il
blob1a32751a9b6c2adfc2104cea24ad277235d442fd
2 // unverifiable CIL which breaks the ECMA-335 rules. 
3 // this CIL should fail verification by a conforming CLI verifier.
5 .assembly 'unverifiable_assign_compat_9_1_generated'
7   .hash algorithm 0x00008004
8   .ver  0:0:0:0
11 .assembly extern mscorlib
13   .ver 1:0:5000:0
14   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
17 .method public static void Foo() cil managed
19         .maxstack 2
20         .locals init (
21              int32 * V_0
22         )
23         ldloc.0
24         stloc.0
25         ret
28 .method public static void Main() cil managed
30         .maxstack 2
31         .entrypoint
32         call void Foo()
33         ret