Files
kotlin-fork/compiler/testData/codegen/box/jvmOverloads/privateClass.kt
T
2020-04-02 12:42:50 +03:00

11 lines
191 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// WITH_RUNTIME
private data class C(val status: String = "OK")
fun box(): String {
val c = (C::class.java.getConstructor().newInstance())
return c.status
}