mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
8 lines
194 B
Kotlin
Vendored
8 lines
194 B
Kotlin
Vendored
data class Test(val z1: Double, val z2: Double?)
|
|
|
|
fun box(): String {
|
|
val x = Test(Double.NaN, Double.NaN)
|
|
val y = Test(Double.NaN, Double.NaN)
|
|
|
|
return if (x == y) "OK" else "fail"
|
|
} |