8 lines
204 B
Kotlin
Vendored
8 lines
204 B
Kotlin
Vendored
// !CHECK_TYPE
|
|
|
|
fun foo(x: Int?): Boolean {
|
|
val result = ((x!! == 0) && (checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>x<!>) == 0))
|
|
checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>x<!>)
|
|
return result
|
|
}
|