Merge pull request #1508 from slluis/fix-20966
[mono.git] / mono / tests / verifier / unverifiable_binary_compare_with_valuetype.il
1
2 .assembly extern mscorlib
3 {
4   .ver 2:0:0:0
5   .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
6 }
7
8 .assembly 'bla'
9 {
10   .hash algorithm 0x00008004
11   .ver  0:0:0:0
12 }
13
14 .module bne_with_generic_type_type.exe
15
16
17 .class public auto ansi beforefieldinit Test
18         extends [mscorlib]System.Object
19 {
20         .method public static void Method<T> ()
21         {
22                 //.locals init (!!T V_0, !!T V_1)
23                 .locals init ( valuetype [mscorlib] System.DateTime V_0, valuetype [mscorlib] System.DateTime V_1)
24
25                 ldloc.0
26                 ldloc.1
27                 bne.un END
28                 nop
29 END:
30                 ret
31         }
32 }
33
34
35 .method public static int32 Main ()
36 {
37         .entrypoint
38         .maxstack 8
39
40         call void class Test::Method<int32>()
41
42         ldc.i4.0
43         ret 
44 }
45
46
47