Mirror von
https://github.com/eclipse-aspectj/aspectj.git
synchronisiert 2024-09-03 17:56:34 +02:00
13 Zeilen
328 B
Java
13 Zeilen
328 B
Java
|
|
/** @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(){} }
|