Author: zoltan
Date: 2005-04-23 16:46:53 -0400 (Sat, 23 Apr 2005)
New Revision: 43509
Modified:
trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/objects.cs
Log:
2005-04-23 Zoltan Varga <[EMAIL PROTECTED]>
* objects.cs: Add missing null casting test.
Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog 2005-04-23 19:43:04 UTC (rev 43508)
+++ trunk/mono/mono/mini/ChangeLog 2005-04-23 20:46:53 UTC (rev 43509)
@@ -1,3 +1,7 @@
+2005-04-23 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * objects.cs: Add missing null casting test.
+
2005-04-22 Zoltan Varga <[EMAIL PROTECTED]>
* mini-exceptions.c (mono_find_jit_info): Fix native offset calculation
Modified: trunk/mono/mono/mini/objects.cs
===================================================================
--- trunk/mono/mono/mini/objects.cs 2005-04-23 19:43:04 UTC (rev 43508)
+++ trunk/mono/mono/mini/objects.cs 2005-04-23 20:46:53 UTC (rev 43509)
@@ -355,6 +355,14 @@
}
class Duper: Super {
}
+
+ static int test_0_null_cast () {
+ object o = null;
+
+ Super s = (Super)o;
+
+ return 0;
+ }
static int test_0_super_cast () {
Duper d = new Duper ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches