Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/constructorCallableReference.kt
T
2021-07-01 17:40:41 +03:00

16 lines
262 B
Kotlin
Vendored

// WITH_RUNTIME
// KJS_FULL_RUNTIME
// SKIP_MANGLE_VERIFICATION
// 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
}