Merge pull request #1508 from slluis/fix-20966
[mono.git] / mono / tests / verifier / invalid_ldstr_bad_token.il
1
2 // valid CIL which breaks the ECMA-335 rules. 
3 // this CIL should fail verification by a conforming CLI verifier.
4
5 .assembly 'ldstr_bad_token'
6 {
7   .hash algorithm 0x00008004
8   .ver  0:0:0:0
9 }
10
11 .method public static int32 Main() cil managed
12 {
13         .entrypoint
14         .maxstack 2
15         .locals init ()
16
17         .emitbyte 0x72
18         .emitbyte 0x00
19         .emitbyte 0x01
20         .emitbyte 0x00
21         .emitbyte 0x00
22
23         call void [mscorlib]System.Console::WriteLine(object)
24         ldc.i4.0
25         ret
26 }