mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
11 lines
162 B
Kotlin
Vendored
11 lines
162 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
enum class A() {
|
|
ENTRY(){ override fun t() = "OK"};
|
|
|
|
abstract fun t(): String
|
|
}
|
|
|
|
fun f(a: A) = a.t()
|
|
|
|
fun box()= f(A.ENTRY)
|