1 /* 2 * Copyright (C) 2007 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 public class Blort 18 { test01()19 public static Object test01() { 20 Object[][] x = new Object[2][5]; 21 return x; 22 } 23 test02()24 public static Object test02() { 25 Object[][][] x = new Object[4][1][]; 26 return x; 27 } 28 test03()29 public static Object test03() { 30 Object[][][] x = new Object[7][2][4]; 31 return x; 32 } 33 test04()34 public static Object test04() { 35 Object[][][] x = new Object[3][0][0]; 36 return x; 37 } 38 test05()39 public static Object test05() { 40 Object[][][][] x = new Object[1][3][5][7]; 41 return x; 42 } 43 test06()44 public static Object test06() { 45 Object[][][][][] x = new Object[8][7][2][3][4]; 46 return x; 47 } 48 test07()49 public static Object test07() { 50 Object[][][][][][] x = new Object[8][7][2][3][4][]; 51 return x; 52 } 53 test08()54 public static Object test08() { 55 Object[][][][][][][] x = new Object[8][7][2][3][4][][]; 56 return x; 57 } 58 test09()59 public static boolean[][] test09() { 60 return new boolean[1][2]; 61 } 62 test10()63 public static byte[][] test10() { 64 return new byte[3][4]; 65 } 66 test11()67 public static char[][] test11() { 68 return new char[5][6]; 69 } 70 test12()71 public static double[][] test12() { 72 return new double[7][8]; 73 } 74 test13()75 public static float[][] test13() { 76 return new float[9][1]; 77 } 78 test14()79 public static int[][][] test14() { 80 return new int[5][3][2]; 81 } 82 test15()83 public static long[][][] test15() { 84 return new long[3][4][7]; 85 } 86 test16()87 public static short[][][][] test16() { 88 return new short[5][4][3][2]; 89 } 90 test17()91 public static String[][][][][] test17() { 92 return new String[5][4][3][2][1]; 93 } 94 test18()95 public static Runnable[][][][][][] test18() { 96 return new Runnable[5][4][3][2][1][8]; 97 } 98 } 99