OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* libjava.lang/pr8945.java: New file.
[pf3gnuchains/gcc-fork.git]
/
libjava
/
testsuite
/
libjava.lang
/
Array_2.java
1
// Test to make sure multidimensional arrays work.
2
// From Bryce McKinlay
3
4
public class Array_2
5
{
6
static final int a = 10, b = 15;
7
8
public static void main(String args[])
9
{
10
int[][] foo = new int [a][b];
11
System.out.println(foo.length);
12
System.out.println(foo[a-1].length);
13
}
14
}