diff options
author | Anthony Green <green@cygnus.com> | 2000-02-12 22:45:06 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-02-12 22:45:06 +0000 |
commit | d6455b5baf2b0e90a2a6e670c64bb243908f85e5 (patch) | |
tree | 21f86bc788c4fa29de9afb1d81b60bdda4a95ec1 /libjava | |
parent | 3abd3239f3333c81e890f5aeefb7e4d06b526920 (diff) | |
download | gcc-d6455b5baf2b0e90a2a6e670c64bb243908f85e5.zip gcc-d6455b5baf2b0e90a2a6e670c64bb243908f85e5.tar.gz gcc-d6455b5baf2b0e90a2a6e670c64bb243908f85e5.tar.bz2 |
New test case.
From-SVN: r31949
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/inner_inherit.java | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index d4b6471..4333b1d 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -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 index 0000000..44ad6a9 --- /dev/null +++ b/libjava/testsuite/libjava.compile/inner_inherit.java @@ -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); + } +} |