26e3237b8c
And if that causes a platform declaration clash, that's not a problem that can be solved without breaking the ABI anyway. #KT-47412 Fixed
19 lines
288 B
Kotlin
Vendored
19 lines
288 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// WITH_RUNTIME
|
|
// MODULE: lib
|
|
// FILE: lib.kt
|
|
|
|
enum class E(val value: String) {
|
|
OK("K");
|
|
|
|
companion object {
|
|
@JvmField
|
|
val OK = "O"
|
|
}
|
|
}
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: main.kt
|
|
fun box() = E.OK + E.OK.value
|