New test case.
authorAnthony Green <green@cygnus.com>
Sat, 12 Feb 2000 22:45:06 +0000 (22:45 +0000)
committerAnthony Green <green@gcc.gnu.org>
Sat, 12 Feb 2000 22:45:06 +0000 (22:45 +0000)
From-SVN: r31949

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.compile/inner_inherit.java [new file with mode: 0644]

index d4b6471eb497bc69e243f27e443816ba91f29a10..4333b1df5d4e358c74e2c4af035e5be41bea469b 100644 (file)
@@ -1,3 +1,7 @@
+2000-02-12  Anthony Green  <green@cygnus.com>
+
+       * libjava.compile/inner_inherit.java: New file.
+
 2000-02-12  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
        * libjava.lang/inner_interface.out: New file.
diff --git a/libjava/testsuite/libjava.compile/inner_inherit.java b/libjava/testsuite/libjava.compile/inner_inherit.java
new file mode 100644 (file)
index 0000000..44ad6a9
--- /dev/null
@@ -0,0 +1,14 @@
+// Test to insure that we can refer to methods inherited through an
+// inner class.
+
+public class inner_inherit
+{
+    private class Agent extends Thread {
+    }
+
+    public void f ()
+    {
+       Agent a = new Agent();
+       a.setDaemon(true);
+    }
+}