41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
14 lines
288 B
Kotlin
14 lines
288 B
Kotlin
class TestJava(r : Runnable) : Runnable by r {}
|
|
class TestRunnable() : Runnable {
|
|
public override fun run() = System.out.println("foobar")
|
|
}
|
|
|
|
fun box() : String {
|
|
var del = TestJava(TestRunnable())
|
|
del.run()
|
|
if (del !is Runnable)
|
|
return "Fail #1"
|
|
|
|
return "OK"
|
|
}
|