mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
10 lines
167 B
Kotlin
Vendored
10 lines
167 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
data class A(var string: String)
|
|
|
|
fun box(): String {
|
|
val a = A("Fail")
|
|
a.string = "OK"
|
|
val (result) = a
|
|
return result
|
|
}
|