15 lines
177 B
Kotlin
Vendored
15 lines
177 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !CHECK_TYPE
|
|
|
|
import kotlin.reflect.KFunction0
|
|
|
|
class A {
|
|
class Nested
|
|
}
|
|
|
|
fun main() {
|
|
val x = A::Nested
|
|
|
|
checkSubtype<KFunction0<A.Nested>>(x)
|
|
}
|