Fri Jul 25 12:27:24 CEST 2003 Paolo Molaro <lupus@ximian.com>
authorPaolo Molaro <lupus@oddwiz.org>
Fri, 25 Jul 2003 10:36:55 +0000 (10:36 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Fri, 25 Jul 2003 10:36:55 +0000 (10:36 -0000)
* generics-c.il, generics-b.il: add constructors and fix code.

svn path=/trunk/mcs/; revision=16657

mcs/ilasm/tests/ChangeLog
mcs/ilasm/tests/generics-b.il
mcs/ilasm/tests/generics-c.il

index 039c9e5f597141730d9a9fe7c888eb07f52e685b..018b60a40ebccfaa70441ce08dc5f2f22da476df 100644 (file)
@@ -1,3 +1,8 @@
+
+Fri Jul 25 12:27:24 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * generics-c.il, generics-b.il: add constructors and fix code.
+
 2003-07-14 Jackson Harper <jackson@latitudegeo.com>
 
        * test-11.il: Don't specify constraints with ids anymore
index 5dba3040ddf1818c5b928a049620826b001d1011..0f23b9cc57f0a52b6843acd811587d1ab9ee5797 100644 (file)
@@ -9,6 +9,12 @@
 
            .class public Set<T> extends [mscorlib]System.Object {
 
+               .method public instance void .ctor () cil managed
+               {
+                       ldarg.0
+                       call instance void class [mscorlib]System.Object::.ctor()
+                       ret
+               }
            }
 
            .class public GenericsB extends [mscorlib]System.Object {
index 0bbf9b9068906803c348d3454ed3803692b53ddb..71595d39e00dddc8567d50c5ee97300fbd2e1d76 100644 (file)
@@ -11,6 +11,9 @@
 
                   .field public !0 val
 
+               .method public instance void .ctor () {
+                       ret
+               }
            }
 
            .class public Driver extends [mscorlib]System.Object {
@@ -27,6 +30,7 @@
                         ldc.i4.1
                         stfld int32 class Mono.ILASM.Tests.Set<int32>::val
 
+                        ldloc.0
                         ldfld int32 class Mono.ILASM.Tests.Set<int32>::val
                         call void [mscorlib]System.Console::WriteLine (int32)