Files
kotlin-fork/compiler/testData/codegen/box/reflection/call/simpleConstructor.kt
T
2023-06-07 14:59:38 +00:00

10 lines
140 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// WITH_REFLECT
class A(val result: String)
fun box(): String {
val a = (::A).call("OK")
return a.result
}