]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
anonarray3.out: New file.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Wed, 9 Feb 2000 20:49:34 +0000 (20:49 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 9 Feb 2000 20:49:34 +0000 (20:49 +0000)
2000-02-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* libjava.lang/anonarray3.out: New file.
* libjava.lang/anonarray3.java: New file.

From-SVN: r31871

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.lang/anonarray3.java [new file with mode: 0644]
libjava/testsuite/libjava.lang/anonarray3.out [new file with mode: 0644]

index 47cd81b5d3c626b12a4e0d2de379b7cceb257743..6cd4c115b3fddea3b8f6b19f61e37a81d80aa5f2 100644 (file)
@@ -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.
diff --git a/libjava/testsuite/libjava.lang/anonarray3.java b/libjava/testsuite/libjava.lang/anonarray3.java
new file mode 100644 (file)
index 0000000..264365b
--- /dev/null
@@ -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]);
+  }
+}
diff --git a/libjava/testsuite/libjava.lang/anonarray3.out b/libjava/testsuite/libjava.lang/anonarray3.out
new file mode 100644 (file)
index 0000000..8f92bfd
--- /dev/null
@@ -0,0 +1 @@
+35