Files

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
}