Files
kotlin-fork/compiler/testData/codegen/patternMatching/constant.kt
T

5 lines
61 B
Kotlin
Vendored

fun isZero(x: Int) = when(x) {
0 -> true
else -> false
}