Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/constructorCallableReference.kt
T
2021-02-09 12:31:14 +01:00

15 lines
234 B
Kotlin
Vendored

// WITH_RUNTIME
// KJS_FULL_RUNTIME
// IGNORE_BACKEND: WASM
interface I {
companion object {
val default: IC by lazy(::IC)
}
}
inline class IC(val ok: String = "OK") : I
fun box(): String {
return I.default.ok
}