diff options
author | Anthony Green <green@cygnus.com> | 2000-02-12 22:57:18 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-02-12 22:57:18 +0000 |
commit | 762016bf0a4382b3f88228dba543a4e1bf87e612 (patch) | |
tree | 1e5bf41e9fa77773e0d6cb9b3522cc687fb41a8b | |
parent | d6455b5baf2b0e90a2a6e670c64bb243908f85e5 (diff) | |
download | gcc-762016bf0a4382b3f88228dba543a4e1bf87e612.zip gcc-762016bf0a4382b3f88228dba543a4e1bf87e612.tar.gz gcc-762016bf0a4382b3f88228dba543a4e1bf87e612.tar.bz2 |
New test case.
From-SVN: r31950
-rw-r--r-- | libjava/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/inner_data.java | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 4333b1d..07a20e1 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2000-02-12 Anthony Green <green@cygnus.com> + * libjava.compile/inner_data.java: New file. + +2000-02-12 Anthony Green <green@cygnus.com> + * libjava.compile/inner_inherit.java: New file. 2000-02-12 Alexandre Petit-Bianco <apbianco@cygnus.com> diff --git a/libjava/testsuite/libjava.compile/inner_data.java b/libjava/testsuite/libjava.compile/inner_data.java new file mode 100644 index 0000000..63d4902 --- /dev/null +++ b/libjava/testsuite/libjava.compile/inner_data.java @@ -0,0 +1,14 @@ +// Test referencing protected data from parent of inner class. + +import java.util.Random; + +public class inner_data +{ + private class Randomer extends Random { + public long xxx () + { + return seed; + } + } +} + |