Files
kotlin-fork/compiler/testData/codegen/bytecodeText/callableReference/kt36975.kt
T
2020-09-07 21:01:29 +02:00

11 lines
231 B
Kotlin
Vendored

// FILE: test.kt
class A(val value: String)
fun box(): String {
val ref = A::value
return ref(A("OK"))
}
// Check that non-bound callable references are generated as singletons
// 1 GETSTATIC TestKt\$box\$ref\$1.INSTANCE