summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/LocalInners.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/LocalInners.java')
-rw-r--r--tests/pureJava/LocalInners.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pureJava/LocalInners.java b/tests/pureJava/LocalInners.java
new file mode 100644
index 000000000..f26bdba4f
--- /dev/null
+++ b/tests/pureJava/LocalInners.java
@@ -0,0 +1,13 @@
+public class LocalInners {
+ public static void main(String[] args) {
+ class Local1 {
+ public String getL() { return l.toString(); }
+ private Local1 l;
+ }
+ Local1 lt = new Local1();
+
+ class Local2 extends Local1 {
+ private Local1 t;
+ }
+ }
+}