mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 07:18:59 +08:00
d53cc71518
2000-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * libjava.lang/anonarray3.out: New file. * libjava.lang/anonarray3.java: New file. From-SVN: r31871
14 lines
256 B
Java
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]);
|
|
}
|
|
}
|