Retro68/gcc/libjava/testsuite/libjava.lang/anonarray3.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

14 lines
256 B
Java

// Class anonarray3
// Generated on Tue Feb 8 19:18:10 PST 2000
//
class anonarray3 {
private static final int[] foo (int x) {
return new int[] { x+1 };
}
public static void main (String[] arg)
{
System.out.println (foo (34)[0]);
}
}