2008-03-20 Mark Probst <mark.probst@gmail.com>
[mono.git] / mono / mini / arrays.cs
index 012bdfdf7565646297e52a6a20b6c9c2bb4d51db..495eff15eb805727de276a630a1983116bb1c6e8 100644 (file)
@@ -476,6 +476,15 @@ class Tests {
 
                return y;
        }
+
+       public static int test_0_stelem_ref_null_opt () {
+               object[] arr = new Tests [1];
+
+               arr [0] = new Tests ();
+               arr [0] = null;
+
+               return arr [0] == null ? 0 : 1;
+       }
 }