mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
11 lines
208 B
Kotlin
Vendored
11 lines
208 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
class A {
|
|
val result: String
|
|
init {
|
|
val flag = "OK"
|
|
fun getFlag(): String = flag
|
|
result = { getFlag() } ()
|
|
}
|
|
}
|
|
fun box(): String = A().result
|