]> gcc.gnu.org Git - gcc.git/commitdiff
final_inner.java: New file.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Sun, 30 Jan 2000 22:08:32 +0000 (22:08 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sun, 30 Jan 2000 22:08:32 +0000 (22:08 +0000)
* libjava.lang/final_inner.java: New file.
* libjava.lang/final_inner.out: Likewise.

From-SVN: r31704

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

index 38c8901e0a8aad1e964773b4d44a508122a10082..48661286592e02ff359a0c276fa00b4ad45540ab 100644 (file)
@@ -1,3 +1,8 @@
+2000-01-30  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * libjava.lang/final_inner.java: New file.
+       * libjava.lang/final_inner.out: Likewise.
+
 2000-01-20  Tom Tromey  <tromey@cygnus.com>
 
        * libjava.compile/BlankFinal.java: New file.
 2000-01-20  Tom Tromey  <tromey@cygnus.com>
 
        * libjava.compile/BlankFinal.java: New file.
diff --git a/libjava/testsuite/libjava.lang/final_inner.java b/libjava/testsuite/libjava.lang/final_inner.java
new file mode 100644 (file)
index 0000000..40905b1
--- /dev/null
@@ -0,0 +1,19 @@
+// Class final_inner
+// Generated on Tue Jan 18 13:35:19 PST 2000
+//
+
+class final_inner {
+
+  void foo (final String s, final int i) {
+      class bar {
+          void printI () { System.out.println (s+i); }
+      }
+      new bar ().printI ();
+  }
+
+  public static void main (String[] arg)
+  {
+    System.out.println ("Testing class `final_inner'...");
+    new final_inner ().foo ("The Number ", 666);
+  }
+}
diff --git a/libjava/testsuite/libjava.lang/final_inner.out b/libjava/testsuite/libjava.lang/final_inner.out
new file mode 100644 (file)
index 0000000..8ac46cf
--- /dev/null
@@ -0,0 +1,2 @@
+Testing class `final_inner'...
+The Number 666
This page took 0.05994 seconds and 5 git commands to generate.