Files
kotlin-fork/compiler/testData/diagnostics/tests/cast/bare/NullableAsNullableNotEnough.fir.kt
T

9 lines
115 B
Kotlin
Vendored

// !CHECK_TYPE
interface Tr
interface G<T>
fun test(tr: Tr?) {
val v = tr as G?
checkSubtype<G<*>>(v!!)
}