source:
trunk/gcc/libjava/testsuite/libjava.lang/anonarray.java
| Last change on this file was 2, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 597 bytes | |
| Line | |
|---|---|
| 1 | // Class anonarray |
| 2 | // Generated on Tue Feb 1 16:11:29 PST 2000 |
| 3 | // Simple anonymous array, of primitive types. |
| 4 | |
| 5 | class anonarray { |
| 6 | |
| 7 | static void foo (int [][] x) { |
| 8 | for (int i = 0; i < x.length; i++) |
| 9 | { |
| 10 | for (int j = 0; j < x[i].length; j++) |
| 11 | System.out.print (x[i][j]); |
| 12 | System.out.println(); |
