// !CHECK_TYPE // FILE: a.kt package a.b.c class D { fun foo(e: E, f: F) = this } // FILE: b.kt import kotlin.reflect.KFunction3 fun main() { val x = a.b.c.D::foo checkSubtype, String, Int, a.b.c.D>>(x) }