Files
kotlin-fork/compiler/testData/codegen/box/boxingOptimization/explicitEqualsOnDouble.kt
T
2018-08-28 13:48:43 +03:00

8 lines
132 B
Kotlin
Vendored

fun equals1(a: Double, b: Double) = a.equals(b)
fun box(): String {
if ((-0.0).equals(0.0)) return "fail 0"
return "OK"
}