Files
kotlin-fork/compiler/testData/codegen/box/jvmOverloads/privateClass.kt
T
2018-06-28 12:26:41 +02:00

13 lines
249 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
private data class C(val status: String = "OK")
fun box(): String {
val c = (C::class.java.getConstructor().newInstance())
return c.status
}