Files
kotlin/compiler/testData/codegen/box/jvmOverloads/privateClass.kt

12 lines
217 B
Kotlin
Vendored

// IGNORE_BACKEND: 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
}