anonarray3.out: New file.
2000-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com> * libjava.lang/anonarray3.out: New file. * libjava.lang/anonarray3.java: New file. From-SVN: r31871
This commit is contained in:
committed by
Tom Tromey
parent
71600a4ae0
commit
d53cc71518
@@ -0,0 +1,13 @@
|
||||
// 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]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user