aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/cycle/J_1.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/cycle/J_1.java')
-rw-r--r--tests/untried/pos/cycle/J_1.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/untried/pos/cycle/J_1.java b/tests/untried/pos/cycle/J_1.java
new file mode 100644
index 000000000..0cc218eeb
--- /dev/null
+++ b/tests/untried/pos/cycle/J_1.java
@@ -0,0 +1,16 @@
+package bar;
+
+public class J_1 {
+ public void f(C.D arg) {
+ }
+}
+
+class B extends J_1 {
+ public void g(C.D arg) {
+ }
+}
+
+class C extends B {
+ public class D {
+ }
+}