compiler-design-eth/javali_tests/HW3_nop90/InheritanceTests/CircularInheritanceErrors/ComplexLoop.javali

17 lines
222 B
Text
Raw Permalink Normal View History

2020-01-15 22:32:25 +01:00
// Test more complex/nested cases of CIRCULAR INHERITANCE
class Main {
void main() {}
}
class D1 extends C{}
class E extends D1{}
class D2 extends C{}
class E2 extends D2{}
class F extends E2{}
class C extends F{}