41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
13 lines
292 B
Kotlin
13 lines
292 B
Kotlin
trait SimpleClass : java.lang.Object {
|
|
fun foo() : String = "239 " + toString ()
|
|
}
|
|
|
|
class SimpleClassImpl() : SimpleClass {
|
|
override fun toString() = "SimpleClassImpl"
|
|
}
|
|
|
|
fun box() : String {
|
|
val c = SimpleClassImpl()
|
|
return if("239 SimpleClassImpl" == c.foo()) "OK" else "fail"
|
|
}
|