Files
kotlin-fork/compiler/testData/diagnostics/tests/dataFlowInfoTraversal/Condition.fir.kt
T

8 lines
150 B
Kotlin
Vendored

// !CHECK_TYPE
fun foo(x: Int?): Boolean {
val result = ((x!! == 0) && (checkSubtype<Int>(x) == 0))
checkSubtype<Int>(x)
return result
}