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];