summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/circle/Test1CF.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/circle/Test1CF.java')
-rw-r--r--tests/pureJava/circle/Test1CF.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/pureJava/circle/Test1CF.java b/tests/pureJava/circle/Test1CF.java
new file mode 100644
index 000000000..b33e9d3d1
--- /dev/null
+++ b/tests/pureJava/circle/Test1CF.java
@@ -0,0 +1,17 @@
+package circle;
+
+public class Test1CF {}
+
+
+class Base {
+ public interface I extends IBottom {} //CE cyclic inheritance
+}
+
+class Type {
+ public interface Reflexive {
+ }
+}
+
+interface DerivedI extends Base.I, Type.Reflexive {}
+
+interface IBottom extends DerivedI {}