Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/function/localConstructor.kt
T

12 lines
150 B
Kotlin
Vendored

// FIR_IDENTICAL
// !CHECK_TYPE
import kotlin.reflect.KFunction0
fun main() {
class A
val x = ::A
checkSubtype<KFunction0<A>>(x)
}