Merge pull request #961 from ermshiperete/bug-xamarin-18118
[mono.git] / mono / mini / exceptions.cs
index 8144641273d407f1f930cdafbfc6250a9176894f..ed9ca4da7865dafab857618fb96e810393082620 100644 (file)
@@ -2318,16 +2318,6 @@ class Tests
        public static int test_0_array_size () {
                bool failed;
 
-               try {
-                       failed = true;
-                       int[] mem1 = new int [Int32.MaxValue];
-               }
-               catch (OutOfMemoryException e) {
-                       failed = false;
-               }
-               if (failed)
-                       return 1;
-
                try {
                        failed = true;
                        int[,] mem2 = new int [Int32.MaxValue, Int32.MaxValue];