78ca733c38
except tests that are not possible to add without some modifications in the test infra. See todos on the commented-out test declarations
20 lines
418 B
Kotlin
Vendored
20 lines
418 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
|
// FIR status: don't support legacy feature (see https://youtrack.jetbrains.com/issue/KT-37591). UNRESOLVED_REFERENCE at '+'
|
|
// WITH_STDLIB
|
|
// 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
|