// !CHECK_TYPE import kotlin.reflect.KFunction0 class A class B fun A.ext() { val x = ::A val y = ::B checkSubtype>(x) checkSubtype>(y) }