9 lines
180 B
Text
9 lines
180 B
Text
/* Test that the circular inheritance between Foo and Bar is detected */
|
|
class Foo extends Bar { }
|
|
class Bar extends Foo { }
|
|
|
|
class Main {
|
|
void main() {
|
|
writeln();
|
|
}
|
|
}
|