From 762016bf0a4382b3f88228dba543a4e1bf87e612 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Sat, 12 Feb 2000 22:57:18 +0000 Subject: [PATCH] New test case. From-SVN: r31950 --- libjava/testsuite/ChangeLog | 4 ++++ libjava/testsuite/libjava.compile/inner_data.java | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/inner_data.java diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 4333b1df5d4..07a20e140cd 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-02-12 Anthony Green + + * libjava.compile/inner_data.java: New file. + 2000-02-12 Anthony Green * libjava.compile/inner_inherit.java: New file. diff --git a/libjava/testsuite/libjava.compile/inner_data.java b/libjava/testsuite/libjava.compile/inner_data.java new file mode 100644 index 00000000000..63d4902f366 --- /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; + } + } +} +