Author: kumpera
Date: 2007-09-22 12:12:25 -0400 (Sat, 22 Sep 2007)
New Revision: 86214
Added:
trunk/mono/mono/tests/bug-327438.2.il
Modified:
trunk/mono/mono/tests/ChangeLog
trunk/mono/mono/tests/Makefile.am
Log:
2007-09-22 Rodrigo Kumpera <[EMAIL PROTECTED]>
* bug-327438.2.il: added
* Makefile.am: added bug-327438.2.il
Modified: trunk/mono/mono/tests/ChangeLog
===================================================================
--- trunk/mono/mono/tests/ChangeLog 2007-09-22 16:10:31 UTC (rev 86213)
+++ trunk/mono/mono/tests/ChangeLog 2007-09-22 16:12:25 UTC (rev 86214)
@@ -1,3 +1,10 @@
+2007-09-22 Rodrigo Kumpera <[EMAIL PROTECTED]>
+
+ * bug-327438.2.il: added
+
+ * Makefile.am: added bug-327438.2.il
+
+
2007-09-21 Robert Jordan <[EMAIL PROTECTED]>
* assemblyresolve/Makefile.am: remove the superfluous --security
Modified: trunk/mono/mono/tests/Makefile.am
===================================================================
--- trunk/mono/mono/tests/Makefile.am 2007-09-22 16:10:31 UTC (rev 86213)
+++ trunk/mono/mono/tests/Makefile.am 2007-09-22 16:12:25 UTC (rev 86214)
@@ -302,6 +302,7 @@
TEST_IL2_SRC = find-method.2.il \
bug-79215.2.il \
bug-79956.2.il \
+ bug-327438.2.il \
ldtoken_with_byref_typespec.2.il
# pre-requisite test sources: files that are not test themselves
Added: trunk/mono/mono/tests/bug-327438.2.il
===================================================================
--- trunk/mono/mono/tests/bug-327438.2.il 2007-09-22 16:10:31 UTC (rev
86213)
+++ trunk/mono/mono/tests/bug-327438.2.il 2007-09-22 16:12:25 UTC (rev
86214)
@@ -0,0 +1,62 @@
+
+.assembly extern mscorlib
+{
+ .ver 2:0:0:0
+ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
+}
+.assembly 'constaint_checks'
+{
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+.module constraint_checks.exe
+
+
+.class public auto ansi beforefieldinit Subject<T> extends
[mscorlib]System.Object
+{
+ .method public hidebysig specialname rtspecialname
+ instance default void .ctor () cil managed
+ {
+ .maxstack 8
+ ldarg.0
+ call instance void object::.ctor()
+ ret
+ }
+}
+
+.class public auto ansi beforefieldinit Driver extends [mscorlib]System.Object
+{
+ .method public hidebysig specialname rtspecialname instance default
void .ctor () cil managed
+ {
+ .maxstack 8
+ ldarg.0
+ call instance void object::.ctor()
+ ret
+ }
+
+ .method public static hidebysig default void Ldtoken () cil managed
+ {
+ ldtoken class Subject<valuetype
[mscorlib]System.Nullable<int32>>
+ pop
+ ldc.i4.0
+ ret
+ }
+
+ .method public static hidebysig default int32 Main () cil managed
+ {
+ .entrypoint
+ .try {
+ call void class Driver::Ldtoken()
+ leave RET
+ }
+ catch [mscorlib]System.Exception {
+ pop
+ leave RET
+ }
+
+RET: ldc.i4.0
+ ret
+ }
+}
+
+
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches