Files
kotlin-fork/compiler/testData/codegen/box/ir/kt29833.kt
T
2019-02-15 16:25:16 +03:00

20 lines
344 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// FILE: Definitions.kt
import interop.*
object Definitions {
const val KT_CONSTANT = Interface.CONSTANT
val ktValue = Interface.CONSTANT
}
fun box(): String =
Definitions.ktValue
// FILE: interop/Interface.java
package interop;
public class Interface {
public static final String CONSTANT = "OK";
}