mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
11 lines
167 B
Kotlin
Vendored
11 lines
167 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
open class Base(val s: String)
|
|
|
|
object Host {
|
|
class Derived : Base(this.foo())
|
|
|
|
fun foo() = "OK"
|
|
}
|
|
|
|
fun box() = Host.Derived().s |