Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / remoting1.cs
index 03dfbb0fa7062bba2118a0f03ff5a507df422e56..ce9589469e1dfa59b76da3c07504fc79d74551fc 100644 (file)
@@ -84,6 +84,7 @@ interface R2 {
 class R1 : MarshalByRefObject, R2 {
 
        public int test_field = 5;
+       public object null_test_field;
        
        public virtual MyStruct Add (int a, out int c, int b) {
                Console.WriteLine ("ADD");
@@ -204,6 +205,9 @@ class Test {
                if (o3.anObject != null)
                        return 15;
 
+               if (o.null_test_field != null)
+                       return 16;
+
                return 0;
        }
 }