Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / testsuite / libjava.lang / Array_2.java
blobb406c47d6dfc42059b3f3af3c3605517a16c7f02
1 // Test to make sure multidimensional arrays work.
2 // From Bryce McKinlay
4 public class Array_2
6 static final int a = 10, b = 15;
8 public static void main(String args[])
10 int[][] foo = new int [a][b];
11 System.out.println(foo.length);
12 System.out.println(foo[a-1].length);