Merge pull request #4998 from kumpera/fix_56684
[mono.git] / mcs / tests / test-77.cs
index c4525d7b34d016c345dccae8cb57bb01bc6be522..7da6a379d434d5dea00cece92cc1bd7e8ccf2396 100644 (file)
@@ -57,7 +57,15 @@ class XX {
                s = (object)1 + null;
                if (s != "1")
                        return 12;
-       
+
+               s = (string)null + (object)null;
+               if (s.Length != 0)
+                       return 13;
+
+               s = (object)null + (string)null;
+               if (s.Length != 0)
+                       return 14;
+
                System.Console.WriteLine ("test ok");
                return 0;
        }