// FIR_IDENTICAL // !CHECK_TYPE interface Tr interface G : Tr fun test(tr: Tr?) { val v = tr as G? // If v is not nullable, there will be a warning on this line: checkSubtype>(v!!) }