Merge pull request #1439 from BrzVlad/feature-managed-allocator
[mono.git] / mono / tests / verifier / invalid_ldloc_no_local.il
1 // Invalid CIL which breaks the ECMA-335,III,3.43 rules. 
2 // This CIL should fail verification by a conforming CLI verifier.
3
4
5 .assembly 'test_generated'
6 {
7   .hash algorithm 0x00008004
8   .ver  0:0:0:0
9 }
10
11
12 .method public static int32 Main() cil managed
13 {
14         .entrypoint
15         .maxstack 1
16         ldloc.0 // Invalid, no locals.
17         pop
18         ldc.i4.0
19         ret
20 }