Files
kotlin-fork/compiler/testData/codegen/box/callableReference/function/classMemberFromCompanionObject.kt
T
2020-11-09 16:04:43 +03:00

12 lines
193 B
Kotlin
Vendored

// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: CLASS_REFERENCES
class C {
fun OK() {}
companion object {
val result = C::OK
}
}
fun box(): String = C.result.name