diff options
Diffstat (limited to 'tests/bugs160')
-rw-r--r-- | tests/bugs160/pr168044/AbstractNode.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs160/pr168044/AbstractNode.java b/tests/bugs160/pr168044/AbstractNode.java new file mode 100644 index 000000000..bb1401fb4 --- /dev/null +++ b/tests/bugs160/pr168044/AbstractNode.java @@ -0,0 +1,19 @@ +public abstract class AbstractNode < SelfNode extends AbstractNode<SelfNode, DualNode>, DualNode extends AbstractNode<DualNode, SelfNode> > { +} + +class SubClass extends AbstractNode<A,B> { +} + +class A extends AbstractNode<A,B> { } +class B extends AbstractNode<B,A> { } + +abstract class Mad +< + Id extends Comparable<Id>, + Np extends Mad<Id, Np, Nt, Np, Nt>, + Nt extends Mad<Id, Np, Nt, Nt, Np>, + SelfNode extends Mad<Id, Np, Nt, SelfNode, DualNode>, + DualNode extends Mad<Id, Np, Nt, DualNode, SelfNode> +> +{ +} |