mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
16 lines
225 B
Kotlin
Vendored
16 lines
225 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
enum class X {
|
|
B {
|
|
override val value = "OK"
|
|
|
|
override val test = ::value.get()
|
|
};
|
|
|
|
abstract val value: String
|
|
|
|
abstract val test: String
|
|
}
|
|
|
|
fun box() = X.B.test
|