Files
kotlin-fork/compiler/testData/codegen/box/jvmOverloads/privateClass.kt
T
2019-11-19 11:00:09 +03:00

12 lines
221 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// 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
}