mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
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:
parent
71600a4ae0
commit
d53cc71518
@ -1,3 +1,8 @@
|
||||
2000-02-07 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* libjava.lang/anonarray3.out: New file.
|
||||
* libjava.lang/anonarray3.java: New file.
|
||||
|
||||
2000-02-09 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* libjava.compile/inner_priv.java: New file.
|
||||
|
13
libjava/testsuite/libjava.lang/anonarray3.java
Normal file
13
libjava/testsuite/libjava.lang/anonarray3.java
Normal file
@ -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]);
|
||||
}
|
||||
}
|
1
libjava/testsuite/libjava.lang/anonarray3.out
Normal file
1
libjava/testsuite/libjava.lang/anonarray3.out
Normal file
@ -0,0 +1 @@
|
||||
35
|
Loading…
Reference in New Issue
Block a user