41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
14 lines
213 B
Kotlin
14 lines
213 B
Kotlin
open class Foo {
|
|
fun xyzzy(): String = "xyzzy"
|
|
}
|
|
|
|
class Bar(): Foo() {
|
|
fun test(): String = xyzzy()
|
|
}
|
|
|
|
fun box() : String {
|
|
val bar = Bar()
|
|
val f = bar.test()
|
|
return if (f == "xyzzy") "OK" else "fail"
|
|
}
|