aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/CyclicClassInheritance.java
blob: c5cd0d7c0079beb0b17aebd959f600d16c9baeda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/** @testcase PR#567 no error for cyclic class inheritance if no classes implement the interfaces */
public class CyclicClassInheritance {
    
  public static void main( String args[] ) {
      throw new Error("not to be run - error case ");
  }
}


class A extends B { A(); void a(){} }
class B extends A { B(); void b(){} }