mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
9 lines
175 B
Kotlin
Vendored
9 lines
175 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
data class A(var x: Int, val z: Int?)
|
|
|
|
fun box(): String {
|
|
val a = A(1, null)
|
|
if("$a" != "A(x=1, z=null)") return "$a"
|
|
return "OK"
|
|
}
|