1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
15 lines
238 B
Kotlin
15 lines
238 B
Kotlin
|
|
interface Tr {
|
|
fun extra() : String = "_"
|
|
}
|
|
|
|
class N() : Tr {
|
|
override fun extra() : String = super<Tr>.extra() + super<Tr>.extra()
|
|
}
|
|
|
|
fun box(): String {
|
|
val n = N()
|
|
if (n.extra() == "__") return "OK"
|
|
return "fail";
|
|
}
|