mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
8 lines
149 B
Kotlin
Vendored
8 lines
149 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
abstract class Base(val fn: () -> String)
|
|
|
|
object Test : Base({ Test.ok() }) {
|
|
fun ok() = "OK"
|
|
}
|
|
|
|
fun box() = Test.fn() |